[
https://issues.apache.org/jira/browse/SPARK-3299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14262634#comment-14262634
]
Bill Bejeck commented on SPARK-3299:
------------------------------------
Finished and issued pull request.
SPARK-3299 Add to the SQLContext the ability to show tables, updated the
Catalog, OverrideCatalog Traits, SimpleCatalog class, EmptyCatalog object,
SQLContext class and the HiveMetastoreCatalog class. Added tests in
ListTablesSuite. The method 'showTables' has been added, takes one parameter
of type Optional[String] used for designating a database. I tried to include
the HiveMetastoreCatalog class in the unit testing but was unsuccessful in
being able to get a test to run. I will follow up on the developer list with
questions on how to do this and update accordingly.
> [SQL] Public API in SQLContext to list tables
> ---------------------------------------------
>
> Key: SPARK-3299
> URL: https://issues.apache.org/jira/browse/SPARK-3299
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 1.0.2
> Reporter: Evan Chan
> Assignee: Bill Bejeck
> Priority: Minor
> Labels: newbie
>
> There is no public API in SQLContext to list the current tables. This would
> be pretty helpful.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]