You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2020/02/25 05:40:00 UTC

[jira] [Resolved] (SPARK-30885) V1 table name should be fully qualified if catalog name is provided

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

Wenchen Fan resolved SPARK-30885.
---------------------------------
    Fix Version/s: 3.0.0
       Resolution: Fixed

Issue resolved by pull request 27642
[https://github.com/apache/spark/pull/27642]

> V1 table name should be fully qualified if catalog name is provided
> -------------------------------------------------------------------
>
>                 Key: SPARK-30885
>                 URL: https://issues.apache.org/jira/browse/SPARK-30885
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.0.0, 3.1.0
>            Reporter: Terry Kim
>            Assignee: Terry Kim
>            Priority: Major
>             Fix For: 3.0.0
>
>
> For the following example,
> {code:java}
> sql("CREATE TABLE t USING json AS SELECT 1 AS i")
> sql("SELECT * FROM spark_catalog.t")
> {code}
> `spark_catalog.t` is expanded to `spark_catalog.default.t` assuming that the current namespace is `default`. However, this is not consistent with V2 behavior where namespace should be provided if the catalog name is also provided.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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