zhangbutao commented on PR #6267: URL: https://github.com/apache/hive/pull/6267#issuecomment-4125053032
> > tables and databases under the newly created native catalog do not respect its own catalog location. > > Let's address it separately, check the catalog's location when creating the database. > > I don't like assuming we must have a location in Catalog, for a non-native catalog(Let's rename it to Foreign catalog), such as JDBC, Kudu, Kafka(the catalog type), this location is unnecessary IMO. It doesn't mean every native catalog should reside under the same parent directory or file system. For example, in a hybrid env the catalog directory could be a S3 bucket or a hdfs directory. > I don't like assuming we must have a location in Catalog, for a non-native catalog(Let's rename it to Foreign catalog), such as JDBC, Kudu, Kafka(the catalog type), this location is unnecessary IMO. Yes. I've stated in the documentation that only native catalogs require a location. Other catalogs do not. > It doesn't mean every native catalog should reside under the same parent directory or file system. Yes. Users can specify different locations for native catalogs; if a user does not specify a location for a native catalog, the default value will be used. -- 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]
