benj created DRILL-7246:
---------------------------

             Summary: DESCRIBE on Parquet File
                 Key: DRILL-7246
                 URL: https://issues.apache.org/jira/browse/DRILL-7246
             Project: Apache Drill
          Issue Type: Improvement
          Components: Storage - Parquet
    Affects Versions: 1.16.0
            Reporter: benj


It will be nice if it's possible to use DESCRIBE on Parquet File.
 Example :
{code:sql}
DESCRIBE dfs.tmp.`test_parquet`;
+-------------------+-----------+-------------+
|  COLUMN_NAME      | DATA_TYPE | IS_NULLABLE |
+-------------------+-----------+-------------+
| MyColumn          | INT       | YES         | 
| AnotherColumn     | DATE      | NO          | 
| AdditionnalColumn | VARCHAR   | YES         | 
+-------------------+-----------+-------------+
{code}
And more why not propose this possibility for any file (in the case of the CSV, 
DATA_TYPE will be VARCHAR and IS_NULLABLE YES) - if it's a little bit useless, 
this would at least list the available columns.

 



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

Reply via email to