You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "David Severski (Jira)" <ji...@apache.org> on 2020/01/07 22:02:00 UTC

[jira] [Created] (DRILL-7518) Parquet INT64 Nullable Type Support

David Severski created DRILL-7518:
-------------------------------------

             Summary: Parquet INT64 Nullable Type Support
                 Key: DRILL-7518
                 URL: https://issues.apache.org/jira/browse/DRILL-7518
             Project: Apache Drill
          Issue Type: Bug
    Affects Versions: 1.17.0
         Environment: Tested on the apache/drill:1.17.0 docker image.
            Reporter: David Severski


Querying a parquet file with fields of type INT64 generates an immediate error in the complex parquet reader with an error of "Unsupported nullable converted type INT_64 for primitive type INT64". Attempts to work around this via explicit CAST() and CONVERT_FROM() are unsuccessful. The suggestion from drill-users is that an implementation needs to be made at https://github.com/apache/drill/blob/9993fa3547b029db5fe33a2210fa6f07e8ac1990/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/columnreaders/ColumnReaderFactory.java#L303.

 

If related, a similar INT32 type field in the same file exhibits this problem, but can be worked around via an explicit CAST() to INT.

 

At this time, I do not have a sanitized parquet file to submit as a reference example. :(

 

Reference thread on drill-users list: http://mail-archives.apache.org/mod_mbox/drill-user/202001.mbox/%3cCAJgUOA53LDKxqsH1fSVtJ+dk5421Eg4Aw4PaiM++8BfErxDvjQ@mail.gmail.com%3e



--
This message was sent by Atlassian Jira
(v8.3.4#803005)