dengzhhu653 commented on PR #6267:
URL: https://github.com/apache/hive/pull/6267#issuecomment-4125287966

   > 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 could make some confusing. For example, we declare a S3 catalog but the 
location is absent, then this catalog is created with a hdfs location, some 
databases without explicit location will be put under the hdfs, while some are 
on the cloud, it might be a problem if we use the FileSystem created by the 
catalog's properties to operate against these tables or databases.
   
   In HMS, we can enforce the location check when creating the catalog, if it's 
null and the catalog is native, then we should throw the exception.
   


-- 
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]

Reply via email to