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/26 16:36:00 UTC

[jira] [Resolved] (SPARK-30782) Column resolution doesn't respect current catalog/namespace for v2 tables.

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

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

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

> Column resolution doesn't respect current catalog/namespace for v2 tables.
> --------------------------------------------------------------------------
>
>                 Key: SPARK-30782
>                 URL: https://issues.apache.org/jira/browse/SPARK-30782
>             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 v1 tables, you can perform the following:
> {code:sql}
> SELECT default.t.id FROM t;
> {code}
> For v2 tables, the following fails:
> {code:sql}
> USE testcat.ns1.ns2;
> SELECT testcat.ns1.ns2.t.id FROM t;
> org.apache.spark.sql.AnalysisException: cannot resolve '`testcat.ns1.ns2.t.id`' given input columns: [t.id, t.point]; line 1 pos 7;
> {code}



--
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