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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to