You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Max Gekk (Jira)" <ji...@apache.org> on 2022/05/06 10:09:00 UTC

[jira] [Updated] (SPARK-36790) Update user-facing catalog to adapt CatalogPlugin

     [ https://issues.apache.org/jira/browse/SPARK-36790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Gekk updated SPARK-36790:
-----------------------------
    Fix Version/s:     (was: 3.3.0)

> Update user-facing catalog to adapt CatalogPlugin
> -------------------------------------------------
>
>                 Key: SPARK-36790
>                 URL: https://issues.apache.org/jira/browse/SPARK-36790
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.3.0
>            Reporter: PengLei
>            Priority: Minor
>
> At now the SparkSession.catalog always retuan a CatalogImpl with a SessionCatalog that is SparkSession.sessionState.catalog
> {code:java}
> @transient lazy val catalog: Catalog = new CatalogImpl(self)
> {code}
> {code:java}
> private def sessionCatalog: SessionCatalog = sparkSession.sessionState.catalog
> {code}
> So we can do the action is just based the SessionCatalog, we could not do action based user-defined CatalogPlugin.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org