cloud-fan commented on issue #24768: [SPARK-27919][SQL] Add v2 session catalog URL: https://github.com/apache/spark/pull/24768#issuecomment-502581625 What's the goal of this PR? According to my understanding, the v2 catalog resolution rule is simple: `SELECT ... FROM a.b.c`: if `a` is the name of a registered catalog, then look up the table from catalog `a`. Otherwise, search from the default catalog. `CREATE TABLE a.b.c ...`: If `a` is the name of a registered catalog, then create the table in catalog `a`. Otherwise create the table in the default catalog. Eventually, the default catalog is configurable and is Hive by default. The main responsibility of `SessionCatalog` is to manage temp views and forward requests to the external catalog(v2 catalog).
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
