You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiao Li (JIRA)" <ji...@apache.org> on 2019/06/30 01:38:00 UTC

[jira] [Resolved] (SPARK-28196) Add a new `listTables` and `listLocalTempViews` APIs for SessionCatalog

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

Xiao Li resolved SPARK-28196.
-----------------------------
       Resolution: Fixed
         Assignee: Yuming Wang
    Fix Version/s: 3.0.0

> Add a new `listTables` and `listLocalTempViews` APIs for SessionCatalog
> -----------------------------------------------------------------------
>
>                 Key: SPARK-28196
>                 URL: https://issues.apache.org/jira/browse/SPARK-28196
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Yuming Wang
>            Assignee: Yuming Wang
>            Priority: Major
>             Fix For: 3.0.0
>
>
>  
> {code:scala}
> def listTables(db: String, pattern: String, includeLocalTempViews: Boolean): Seq[TableIdentifier]
> def listLocalTempViews(pattern: String): Seq[TableIdentifier]
> {code}
> Because in some cases {{listTables}} does not need local temporary view and sometimes only need list local temporary view.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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