You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Rahul Challapalli (JIRA)" <ji...@apache.org> on 2017/03/24 17:13:41 UTC

[jira] [Created] (DRILL-5380) Document the usage of drill's parquet "date auto correction" flag

Rahul Challapalli created DRILL-5380:
----------------------------------------

             Summary: Document the usage of drill's parquet "date auto correction" flag
                 Key: DRILL-5380
                 URL: https://issues.apache.org/jira/browse/DRILL-5380
             Project: Apache Drill
          Issue Type: Bug
          Components: Documentation, Storage - Parquet
            Reporter: Rahul Challapalli
            Assignee: Bridget Bevens


Drill used a wrong format for storing dates in parquet  before 1.8.0 release and as a result it had compatibility issues with other parquet reader/writer tools. DRILL-4203 fixes that issue by providing an auto-correction capability in drill's parquet reader. However if someone really intends to use dates, which drill thinks are wrong, then we can use the approach to disable auto-correction by drill

{code}
select l_shipdate from table(cp.`tpch/lineitem.parquet` (type => 'parquet', autoCorrectCorruptDates => false));
{code}

This needs to be documented



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)