Peng-Lei commented on pull request #33339: URL: https://github.com/apache/spark/pull/33339#issuecomment-906965790
> one more question: how does the v2 catalog validate the namespace and table name? depending on the catalog implementation? Very good question. I think the verification logic of database object should included in the catalog implementation. Exclude catalog, it should be implements in `CatalogManager`. Maybe, we should add the interface `validateDatabaseObject` in CatalogPlugin ? Different catalogs may have different restrictions. One case eg: `sensitive` or `insensitive` when check exist. If multiple catalogs exist at the same time. Maybe `spark.sql.caseSensitive` should be a property of CatalogPlugin instead of SparkConf. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
