drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahul Challapalli (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-2305) Using CTAS with nested structures
Date Wed, 25 Feb 2015 01:15:04 GMT
Rahul Challapalli created DRILL-2305:

             Summary: Using CTAS with nested structures
                 Key: DRILL-2305
                 URL: https://issues.apache.org/jira/browse/DRILL-2305
             Project: Apache Drill
          Issue Type: Improvement
          Components: Storage - Parquet
            Reporter: Rahul Challapalli
            Assignee: Steven Phillips


Drill needs to be able to read from a nested json file, cast individual fields, and still
be able to maintain the nested structure.

Data Set :
  "map" : {"col1":12.2, "col2":25.5}

Sample Usage :
select cast(m1 as map(col1:decimal, col2:double)) from `data.json`;

This message was sent by Atlassian JIRA

View raw message