{"record":{"id":"b4b223995c7be59a","repo":"prestodb/presto","slug":"updaterowid","errorCode":null,"errorMessage":"updateRowId","messagePattern":"updateRowId","errorType":"exception","errorClass":"SQLFeatureNotSupportedException","httpStatus":null,"severity":"error","filePath":"presto-jdbc/src/main/java/com/facebook/presto/jdbc/PrestoResultSet.java","lineNumber":1299,"sourceCode":"    @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)\n            throws SQLException\n    {\n        throw new SQLFeatureNotSupportedException(\"getRowId\");\n    }\n\n    @Override\n    public void updateRowId(int columnIndex, RowId x)\n            throws SQLException\n    {\n        throw new SQLFeatureNotSupportedException(\"updateRowId\");\n    }\n\n    @Override\n    public void updateRowId(String columnLabel, RowId x)\n            throws SQLException\n    {\n        throw new SQLFeatureNotSupportedException(\"updateRowId\");\n    }\n\n    @Override\n    public int getHoldability()\n            throws SQLException\n    {\n        checkOpen();\n        return ResultSet.HOLD_CURSORS_OVER_COMMIT;\n    }\n\n    @Override","sourceCodeStart":1281,"sourceCodeEnd":1317,"githubUrl":"https://github.com/prestodb/presto/blob/55bb57d202de3b926896fa966c2c4a44c779634e/presto-jdbc/src/main/java/com/facebook/presto/jdbc/PrestoResultSet.java#L1281-L1317","documentation":"Sentinel method in PrestoResultSet: updateRowId always throws SQLFeatureNotSupportedException (method name as message) because the Presto JDBC driver does not support RowId updates on result sets. The trigger is solely client code invoking it.","triggerScenarios":"Thrown at presto-jdbc/src/main/java/com/facebook/presto/jdbc/PrestoResultSet.java:1299 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Update the underlying table via SQL UPDATE statements keyed on unique columns","Do not attempt RowId mutation through the Presto result set","Catch SQLFeatureNotSupportedException if generic JDBC code paths may invoke this method"],"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"}