prestodb/presto · error · SQLFeatureNotSupportedException
getRowId
Error message
getRowId
What it means
PrestoResultSet's RowId accessor is not implemented: getRowId is a sentinel method that always throws SQLFeatureNotSupportedException with the method name echoed as the message. Any client call to retrieve a ROWID pseudo-column hits it.
Source
Thrown at presto-jdbc/src/main/java/com/facebook/presto/jdbc/PrestoResultSet.java:1285
@Override
public void updateArray(int columnIndex, Array x)
throws SQLException
{
throw new SQLFeatureNotSupportedException("updateArray");
}
@Override
public void updateArray(String columnLabel, Array x)
throws SQLException
{
throw new SQLFeatureNotSupportedException("updateArray");
}
@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)View on GitHub (pinned to 55bb57d202)
Solutions
- Identify rows by their primary/unique key columns instead of a RowId
- Use the row's column values as a natural identifier in application code
- Avoid RowId-based APIs when working with the Presto JDBC driver
Defensive patterns
Strategy: try-catch
When it happens
Trigger: Thrown at presto-jdbc/src/main/java/com/facebook/presto/jdbc/PrestoResultSet.java:1285 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/7ba715e7dd7f6be2.
Report an issue: GitHub.