prestodb/presto · error · SQLFeatureNotSupportedException
updateRowId
Error message
updateRowId
What it means
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.
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
Defensive patterns
Strategy: try-catch
When it happens
Trigger: Thrown at presto-jdbc/src/main/java/com/facebook/presto/jdbc/PrestoResultSet.java:1299 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of prestodb/presto@55bb57d202 (2026-09-04).
Data as JSON: /api/errors/b4b223995c7be59a.
Report an issue: GitHub.
Appendix: source
Thrown at presto-jdbc/src/main/java/com/facebook/presto/jdbc/PrestoResultSet.java:1299
@Override
public RowId getRowId(int columnIndex)
throws SQLException
{
throw new SQLFeatureNotSupportedException("getRowId");
}
@Override
public RowId getRowId(String columnLabel)
throws SQLException
{
throw new SQLFeatureNotSupportedException("getRowId");
}
@Override
public void updateRowId(int columnIndex, RowId x)
throws SQLException
{
throw new SQLFeatureNotSupportedException("updateRowId");
}
@Override
public void updateRowId(String columnLabel, RowId x)
throws SQLException
{
throw new SQLFeatureNotSupportedException("updateRowId");
}
@Override
public int getHoldability()
throws SQLException
{
checkOpen();
return ResultSet.HOLD_CURSORS_OVER_COMMIT;
}
@OverrideView on GitHub (pinned to 55bb57d202)