drill-dev 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-3191) Provide a function which converts optional fields into required ones
Date Tue, 26 May 2015 23:05:17 GMT
Rahul Challapalli created DRILL-3191:
----------------------------------------

             Summary: Provide a function which converts optional fields into required ones
                 Key: DRILL-3191
                 URL: https://issues.apache.org/jira/browse/DRILL-3191
             Project: Apache Drill
          Issue Type: Improvement
          Components: Functions - Drill
            Reporter: Rahul Challapalli
            Assignee: Rahul Challapalli


commit # bd8ac4fca03ad5043bca27fbc7e0dec5a35ac474

Drill currently reads data using nullable column types by default. It would be helpful if
I can convert a nullable type into a required type before writing out to a parquet file.

{code}
create table req_data as select make_required(d.col1) from `data.json` d;
{code}



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

Mime
View raw message