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++8bferxd...@mail.gmail.com%3e



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

Reply via email to