danhuawang opened a new issue, #9145:
URL: https://github.com/apache/gravitino/issues/9145
### Version
main branch
### Describe what's wrong
```
export SPARK_USER=normal
./spark-sql -v --conf
spark.plugins="org.apache.gravitino.spark.connector.plugin.GravitinoSparkPlugin"
--conf spark.sql.gravitino.uri=http://127.0.0.1:8090 --conf
spark.sql.gravitino.metalake=test_metalake1 --conf
spark.sql.gravitino.enableIcebergSupport=true --conf
spark.sql.gravitino.client.socketTimeoutMs=60000 --conf
spark.sql.gravitino.client.connectionTimeoutMs=60000 --conf
spark.sql.warehouse.dir=file:///tmp/
spark-sql (default)> use catalog_mysql;
use catalog_mysql
25/11/17 19:26:48 WARN ObjectStore: Failed to get database global_temp,
returning NoSuchObjectException
25/11/17 19:26:48 WARN ObjectStore: Failed to get database catalog_mysql,
returning NoSuchObjectException
[SCHEMA_NOT_FOUND] The schema `catalog_mysql` 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.
```
```
export SPARK_USER=anonymous
./spark-sql -v --conf
spark.plugins="org.apache.gravitino.spark.connector.plugin.GravitinoSparkPlugin"
--conf spark.sql.gravitino.uri=http://127.0.0.1:8090 --conf
spark.sql.gravitino.metalake=test_metalake1 --conf
spark.sql.gravitino.enableIcebergSupport=true --conf
spark.sql.gravitino.client.socketTimeoutMs=60000 --conf
spark.sql.gravitino.client.connectionTimeoutMs=60000 --conf
spark.sql.warehouse.dir=file:///tmp/
spark-sql ()> use catalog_mysql.mydb;
use catalog_mysql.mydb
Time taken: 0.073 seconds
```
### Error message and/or stacktrace
N/A
### How to reproduce
see above
### 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]