[ https://issues.apache.org/jira/browse/SPARK-16458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Herman van Hovell resolved SPARK-16458. --------------------------------------- Resolution: Fixed Assignee: Dongjoon Hyun Fix Version/s: 2.0.0 > 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 > Assignee: Dongjoon Hyun > Priority: Minor > Fix For: 2.0.0 > > > 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() > org.apache.spark.sql.AnalysisException: Table 't1' does not exist in database > 'default'.; > {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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org