[
https://issues.apache.org/jira/browse/DRILL-3191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rahul Challapalli updated DRILL-3191:
-------------------------------------
Attachment: DRILL-3191.txt
[~jaltekruse] Can you please review the changes?
> 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
> Attachments: DRILL-3191.txt
>
>
> 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)