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

   Some ideas:
     1, We have two catalog types, one is Native, the other is Non-Native;
     2. For Native catalog, besides get table, the client is able to 
create/drop/alter tables/partitions, so the catalog location uri is a must, we 
can check it upon creating the catalog;
     3. For Non-Native catalog, it's just a "mount" of external metadata 
sources, no changes allowed;
     4. Native can be changed to a Non-Native catalog, the Non-Native can be to 
a Native catalog as well;
     5. For default native hive catalog, the catalog location is 
`hive.metastore.warehouse.dir`
     6. Every thing a catalog needs is stored in CATALOG_PARAMS, including the 
driver class, file system configurations, or extra jar files. The PARAM_VALUE 
should be a clob instead of varchar in  CATALOG_PARAMS.
    
   Given these above, we don't need extra `metastore.warehouse.catalog.dir` or 
others to determine the default catalog location, the location could be 
anywhere, just make sure it's accessible by the Metastore.
   
   
   


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