[ 
https://issues.apache.org/jira/browse/SPARK-51219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated SPARK-51219:
-----------------------------------
    Labels: pull-request-available  (was: )

> Catalog.listTables fails on temp table when non-V2SessionCatalog is in use
> --------------------------------------------------------------------------
>
>                 Key: SPARK-51219
>                 URL: https://issues.apache.org/jira/browse/SPARK-51219
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 4.0.0
>            Reporter: Dmytro Tsyliuryk
>            Priority: Major
>              Labels: pull-request-available
>
> When adding temp table `spark.range(0,2).createOrReplaceTempView("abc")` and 
> trying to run `spark.catalog.listTables()` with non-V2SessionCatalog catalog, 
> the following error occurs:
> {code:none}
> org.apache.spark.sql.catalyst.parser.ParseException: 
> [PARSE_EMPTY_STATEMENT] Syntax error, unexpected empty statement. SQLSTATE: 
> 42617 (line 1, pos 0)
> == SQL ==
> ^^^
> {code}
> It is not self-explanatory and creates confusion, as running the same code 
> without temp table would work.
> Related issue in Delta repo: https://github.com/delta-io/delta/issues/2610



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to