You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (JIRA)" <ji...@apache.org> on 2016/07/09 09:54:11 UTC

[jira] [Created] (SPARK-16458) SessionCatalog should support `listColumns` for temporary tables

Dongjoon Hyun created SPARK-16458:
-------------------------------------

             Summary: SessionCatalog should support `listColumns` for temporary tables
                 Key: SPARK-16458
                 URL: https://issues.apache.org/jira/browse/SPARK-16458
             Project: Spark
          Issue Type: Improvement
          Components: SQL
            Reporter: Dongjoon Hyun
            Priority: Minor


Temporary tables are used frequently, but `spark.catalog.listColumns` does not support those tables.

{code}
scala> spark.range(10).createOrReplaceTempView("t1")

scala> spark.catalog.listTables().collect()
res1: Array[org.apache.spark.sql.catalog.Table] = Array(Table[name='t1', tableType='TEMPORARY', isTemporary='true'])

scala> spark.catalog.listColumns("t1").collect()
{code}

This issue make `SessionCatalog` supports temporary table column listing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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