You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Marc Golinelli (JIRA)" <ji...@apache.org> on 2016/12/31 11:08:58 UTC

[jira] [Commented] (DRILL-4156) Parquet group converter cannot cope with ENUM original type values

    [ https://issues.apache.org/jira/browse/DRILL-4156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15789353#comment-15789353 ] 

Marc Golinelli commented on DRILL-4156:
---------------------------------------

I experienced the same issue when querying parquet files written using an Avro schema, the first time I test Apache Drill. 
Do you still plan to fix this issue ? 
Thank you for your time.

> Parquet group converter cannot cope with ENUM original type values 
> -------------------------------------------------------------------
>
>                 Key: DRILL-4156
>                 URL: https://issues.apache.org/jira/browse/DRILL-4156
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Storage - Parquet
>    Affects Versions: 1.3.0, 1.4.0
>            Reporter: Chris Jansen
>              Labels: easyfix, newbie, patch
>         Attachments: parquet_enum.patch, parquet_enum_v2.patch
>
>
> When importing parquet data written using a Thrift schema, Drill cannot cope with ENUMs. This was fixed elsewhere in DRILL-1775 but not in the DrillParquetGroupConverter class ([see mailing list thread|https://mail-archives.apache.org/mod_mbox/drill-user/201508.mbox/%3CCAK55V=+VjPAehMiJ8U=CRH182k4zvhGfxzfwzNaA9edWZWgXKg@mail.gmail.com%3E]).
> It appears that the ParquetToDrillTypeConverter class was updated to use a varbinary as it's default behaviour, but the DrillParquetGroupConverter class was not updated to do the same. 
> {code}
> Caused by: java.lang.UnsupportedOperationException: Unsupported type ENUM
> 	at org.apache.drill.exec.store.parquet2.DrillParquetGroupConverter.getConverterForType(DrillParquetGroupConverter.java:249)
> 	at org.apache.drill.exec.store.parquet2.DrillParquetGroupConverter.<init>(DrillParquetGroupConverter.java:154)
> 	at org.apache.drill.exec.store.parquet2.DrillParquetGroupConverter.<init>(DrillParquetGroupConverter.java:147)
> 	at org.apache.drill.exec.store.parquet2.DrillParquetGroupConverter.<init>(DrillParquetGroupConverter.java:147)
> 	at org.apache.drill.exec.store.parquet2.DrillParquetGroupConverter.<init>(DrillParquetGroupConverter.java:147)
> 	at org.apache.drill.exec.store.parquet2.DrillParquetRecordMaterializer.<init>(DrillParquetRecordMaterializer.java:40)
> 	at org.apache.drill.exec.store.parquet2.DrillParquetReader.setup(DrillParquetReader.java:267)
> 	... 14 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)