You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dilip Biswal (JIRA)" <ji...@apache.org> on 2019/02/25 00:42:00 UTC

[jira] [Created] (SPARK-26982) Enhance describe frame work to describe the output of a query

Dilip Biswal created SPARK-26982:
------------------------------------

             Summary: Enhance describe frame work to describe the output of a query
                 Key: SPARK-26982
                 URL: https://issues.apache.org/jira/browse/SPARK-26982
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 2.4.0
            Reporter: Dilip Biswal


Currently we can use `df.printSchema` to discover the schema information for a query. We should have a way to describe the output schema of a query using SQL interface. 

 

Example:

DESCRIBE SELECT * FROM desc_table

DESCRIBE QUERY SELECT * FROM desc_table



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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