Skip to content

Commit

Permalink
branch-3.0: [fix](TrinoConnector) fix the error message when querying…
Browse files Browse the repository at this point in the history
… a not-existent table with TrinoConnector #45799 (#45835)

Cherry-picked from #45799

Co-authored-by: Tiewei Fang <[email protected]>
  • Loading branch information
github-actions[bot] and BePPPower authored Dec 25, 2024
1 parent 17ae38b commit 5b543dd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ public Optional<SchemaCacheValue> initSchema() {
qualifiedTable.asSchemaTableName(), Optional.empty(), Optional.empty()));
}
if (!connectorTableHandle.isPresent()) {
throw new RuntimeException(String.format("Table does not exist: %s.%s.%s", qualifiedTable));
throw new RuntimeException(String.format("Table does not exist: %s.%s.%s", trinoConnectorCatalog.getName(),
dbName, name));
}

// 4. Get ColumnHandle
Expand Down

0 comments on commit 5b543dd

Please sign in to comment.