You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yuming Wang (JIRA)" <ji...@apache.org> on 2019/06/28 04:56:00 UTC
[jira] [Updated] (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 ]
Yuming Wang updated SPARK-28196:
--------------------------------
Description:
{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.
> 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
> Priority: Major
>
>
> {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