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)