Description
Spark SQL doesn't have an equivalent data type to Parquet BINARY (ENUM), and always treats it as a UTF-8 encoded StringType. Thus, predicate over a Parquet ENUM column may be pushed down. However, Parquet 1.7.0 and prior versions only support filter push-down optimization for a limited set of data types, and fails the query.
The simplest solution seems to be upgrading parquet-mr to 1.8.1, which fixes this issue via PARQUET-201
Attachments
Issue Links
- relates to
-
PARQUET-201 Column with OriginalType INT_8 failed at filtering
- Resolved
- links to