Xander-run opened a new issue, #6907: URL: https://github.com/apache/gravitino/issues/6907
### Version main branch ### Describe what's wrong SparkConnector list table in non-existed PG schema doesn't throw `NoSuchNamespaceException` ### Error message and/or stacktrace ``` spark-sql (default)> SHOW TABLES IN mock_schema; 25/04/13 18:49:44 WARN ObjectStore: Failed to get database global_temp, returning NoSuchObjectException 25/04/13 18:49:44 WARN ObjectStore: Failed to get database mock_schema, returning NoSuchObjectException [SCHEMA_NOT_FOUND] The schema `mock_schema` cannot be found. Verify the spelling and correctness of the schema and catalog. If you did not qualify the name with a catalog, verify the current_schema() output, or qualify the name with the correct catalog. To tolerate the error on drop use DROP SCHEMA IF EXISTS. spark-sql (default)> USE catalog_postgres; Time taken: 0.068 seconds spark-sql ()> SHOW TABLES IN mock_schema; Time taken: 0.029 seconds ``` ### How to reproduce Use setups in `gravitino-playground` with gravitino-spark-connector built on main branch, followed steps in https://github.com/apache/gravitino/issues/6697#issuecomment-2746218039 ``` spark-sql (default)> USE catalog_postgres; Time taken: 0.068 seconds spark-sql ()> SHOW TABLES IN mock_schema; Time taken: 0.029 seconds ``` ### Additional context _No response_ -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
