suyiteng created ORC-1813: ----------------------------- Summary: Incompatibility with ORC files written in version 0.12 due to missing hasNull field in C++ Reader Key: ORC-1813 URL: https://issues.apache.org/jira/browse/ORC-1813 Project: ORC Issue Type: Bug Components: C++ Affects Versions: 2.0.3 Reporter: suyiteng Assignee: suyiteng
We encountered an issue with the C++ implementation of the ORC reader when handling ORC files written with version 0.12. Specifically, files written in this version do not include the hasNull field in the column statistics metadata. While the Java implementation of the ORC reader handles this gracefully by defaulting hasNull to true when the field is absent, the C++ implementation does not handle this scenario correctly. *This issue prevents predicates like IS NULL from being pushed down to the ORC reader!!! As a result, all rows in the file are filtered out, leading to incorrect query results :(* -- This message was sent by Atlassian Jira (v8.20.10#820010)