yujiantao opened a new pull request #27303: [SPARK-30567][SQL] 
setDelegateCatalog should be called if catalog has…
URL: https://github.com/apache/spark/pull/27303
 
 
   ### What changes were proposed in this pull request?
   Add replace 'loadV2SessionCatalog' with 'loadSessionCatalog'  in 
CatalogManager which is used to load any session catalog.
   
   
   ### Why are the changes needed?
   Catalogs.load is called to load a catalog which is not 'spark_catalog' . If 
the catalog has implemented CatalogExtension, setDelegateCatalog is not called 
when the catalog is loaded, that is not like what we have done for 
v2SessionCatalog, and that makes a confusion for customized session catalog, 
like iceberg SparkSessionCatalog.
   
   
   ### Does this PR introduce any user-facing change?
   No
   
   
   ### How was this patch tested?
   No
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to