You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Terry Kim (Jira)" <ji...@apache.org> on 2020/09/26 23:11:00 UTC

[jira] [Created] (SPARK-33004) Migrate DESCRIBE COLUMN to new resolution framework

Terry Kim created SPARK-33004:
---------------------------------

             Summary: Migrate DESCRIBE COLUMN to new resolution framework
                 Key: SPARK-33004
                 URL: https://issues.apache.org/jira/browse/SPARK-33004
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 3.1.0
            Reporter: Terry Kim


Migrate "DESCRIBE tbl colname" to new resolution framework so that it has a consistent resolution rule for v1/v2 commands.

Currently, the following resolves to a table instead of a temp view:

{code:java}
sql("CREATE TABLE testcat.ns.t (id bigint) USING foo")
sql("CREATE TEMPORARY VIEW t AS SELECT 2 as id")
sql("USE testcat.ns")
sql("DESCRIBE t id") // 't' is resolved to testcat.ns.t
{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