You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Jacques Nadeau (JIRA)" <ji...@apache.org> on 2015/03/13 22:05:39 UTC

[jira] [Updated] (DRILL-2305) Using CTAS with nested structures

     [ https://issues.apache.org/jira/browse/DRILL-2305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Nadeau updated DRILL-2305:
----------------------------------
    Fix Version/s: Future

> 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
>             Fix For: Future
>
>
> git.commit.id.abbrev=6676f2d
> 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 :
> {code}
> {
>   "map" : {"col1":12.2, "col2":25.5}
> }
> {code}
> Sample Usage :
> {code}
> select cast(m1 as map(col1:decimal, col2:double)) from `data.json`;
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)