dramaticlly commented on issue #11741: URL: https://github.com/apache/iceberg/issues/11741#issuecomment-2536868437
> After taking a closer look at the [Java Doc](https://github.com/apache/spark/blob/branch-3.5/sql/core/src/main/scala/org/apache/spark/sql/catalog/Catalog.scala#L224), I found that the API is intended only for the Hive Metastore. As specified in the Java Doc > > ``` > To check existence of table/view in other catalogs, please use `tableExists(tableName)` with qualified table/view name instead. > ``` > > It's a user error to use `tableExists(final String dbName, final String tableName)` for rest catalog. thank you @huaxingao and appreciated your finding, FYI @sunny1154 @stevenzwu looks like spark also explicitly mentioned these function is only meant for hive metastore - `listColumns(dbName: String, tableName: String)` - `functionExists(dbName: String, functionName: String)` - `getTable(dbName: String, tableName: String)` - `getFunction(dbName: String, functionName: String)` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org