Terry Kim created SPARK-31015:
---------------------------------

             Summary: Star(*) expression fails when used with fully qualified 
column names for v2 tables
                 Key: SPARK-31015
                 URL: https://issues.apache.org/jira/browse/SPARK-31015
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 3.0.0, 3.1.0
            Reporter: Terry Kim


For a v2 table,
{code:java}
CREATE TABLE testcat.ns1.ns2.tbl (id bigint, name string) USING foo
{code}

The following works
{code:java}
SELECT testcat.ns1.ns2.tbl.id FROM testcat.ns1.ns2.tbl
{code}
but this fails to resolve
{code:java}
SELECT testcat.ns1.ns2.tbl.* FROM testcat.ns1.ns2.tbl
[info]   org.apache.spark.sql.AnalysisException: cannot resolve 
'testcat.ns1.ns2.tbl.*' given input columns 'id, name';
{code}




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

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

Reply via email to