Terry Kim created SPARK-31024:
---------------------------------

             Summary: Allow specifying session catalog name (spark_catalog) in 
qualified column names
                 Key: SPARK-31024
                 URL: https://issues.apache.org/jira/browse/SPARK-31024
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.0.0, 3.1.0
            Reporter: Terry Kim


Currently, the user cannot specify the session catalog name when using 
qualified column names for v1 tables:
{code:java}
SELECT spark_catalog.default.t.i FROM spark_catalog.default.t
{code}
fails with "cannot resolve '`spark_catalog.default.t.i`".

This is inconsistent with v2 tables where catalog name can be used:
{code:java}
SELECT testcat.ns1.tbl.id FROM testcat.ns1.tbl.id
{code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to