{"record":{"id":"31f1328376ddecbc","repo":"prestodb/presto","slug":"updatearray","errorCode":null,"errorMessage":"updateArray","messagePattern":"updateArray","errorType":"exception","errorClass":"SQLFeatureNotSupportedException","httpStatus":null,"severity":"error","filePath":"presto-jdbc/src/main/java/com/facebook/presto/jdbc/PrestoResultSet.java","lineNumber":1271,"sourceCode":"    @Override\n    public void updateClob(int columnIndex, Clob x)\n            throws SQLException\n    {\n        throw new SQLFeatureNotSupportedException(\"updateClob\");\n    }\n\n    @Override\n    public void updateClob(String columnLabel, Clob x)\n            throws SQLException\n    {\n        throw new SQLFeatureNotSupportedException(\"updateClob\");\n    }\n\n    @Override\n    public void updateArray(int columnIndex, Array x)\n            throws SQLException\n    {\n        throw new SQLFeatureNotSupportedException(\"updateArray\");\n    }\n\n    @Override\n    public void updateArray(String columnLabel, Array x)\n            throws SQLException\n    {\n        throw new SQLFeatureNotSupportedException(\"updateArray\");\n    }\n\n    @Override\n    public RowId getRowId(int columnIndex)\n            throws SQLException\n    {\n        throw new SQLFeatureNotSupportedException(\"getRowId\");\n    }\n\n    @Override\n    public RowId getRowId(String columnLabel)","sourceCodeStart":1253,"sourceCodeEnd":1289,"githubUrl":"https://github.com/prestodb/presto/blob/55bb57d202de3b926896fa966c2c4a44c779634e/presto-jdbc/src/main/java/com/facebook/presto/jdbc/PrestoResultSet.java#L1253-L1289","documentation":"updateArray in PrestoResultSet always throws SQLFeatureNotSupportedException: Array-typed in-place row updates are unsupported because Presto result sets are read-only and java.sql.Array is not implemented by the driver.","triggerScenarios":"Thrown at presto-jdbc/src/main/java/com/facebook/presto/jdbc/PrestoResultSet.java:1271 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Execute an explicit UPDATE statement to modify array column values","Read array data via supported getters and update through application logic","Treat the result set as strictly read-only in code paths using Presto"],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"55bb57d202de3b926896fa966c2c4a44c779634e","analyzedAt":"2026-09-04T12:50:26.162Z","contentChangedAt":"2026-09-04T12:50:26.162Z","schemaVersion":2},"datasetVersion":"2026-09-11T21:17:09.523Z"}