You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Rahul Challapalli (JIRA)" <ji...@apache.org> on 2015/05/27 01:05:17 UTC
[jira] [Created] (DRILL-3191) Provide a function which converts
optional fields into required ones
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)