You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Arina Ielchiieva (JIRA)" <ji...@apache.org> on 2018/04/26 15:53:00 UTC

[jira] [Updated] (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:all-tabpanel ]

Arina Ielchiieva updated DRILL-4156:
------------------------------------
    Fix Version/s: 1.13.0

> 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
>            Priority: Major
>              Labels: easyfix, newbie, patch
>             Fix For: 1.13.0
>
>         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
(v7.6.3#76005)