IMPALA-15157: Avoid decompressing a page that is fully skipped at a page boundary During late materialization / row-level skipping, when the rows to skip end exactly on a Parquet page boundary (e.g. an entire row group is filtered out by row-level predicates), BaseScalarColumnReader:: SkipRowsInternal() would fall out of the page-skipping loop and then decompress that final page via ReadCurrentDataPage() only to then skip all of its values. This changes the loop guard from '>' to '>=' so a page whose values are all skipped is discarded as a whole compressed page (counted in NumPagesSkippedByLateMaterialization) without decompressing it. When the skip lands exactly on the page boundary we short-circuit and return before reading the next page header. Query results are unchanged; this only removes the unnecessary decompression and in-page value skipping. Testing: - Updated and extended parquet-late-materialization-unique-db.test to cover skipping to a page boundary (whole-page discard) and in-page value skipping. Assisted-by: Claude Opus 4.8 Change-Id: I18f0e69c267c9bf041ff9f6a3d677239ae43971a Reviewed-on: http://gerrit.cloudera.org:8080/24566 Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
Lightning-fast, distributed SQL queries for petabytes of data stored in open data and table formats.
Impala is a modern, massively-distributed, massively-parallel, C++ query engine that lets you analyze, transform and combine data from a variety of data sources:
The fastest way to try out Impala is a quickstart Docker container. You can try out running queries and processing data sets in Impala on a single machine without installing dependencies. It can automatically load test data sets into Apache Kudu and Apache Parquet formats and you can start playing around with Apache Impala SQL within minutes.
To learn more about Impala as a user or administrator, or to try Impala, please visit the Impala homepage. Detailed documentation for administrators and users is available at Apache Impala documentation.
If you are interested in contributing to Impala as a developer, or learning more about Impala's internals and architecture, visit the Impala wiki.
Impala only supports Linux at the moment. Impala supports x86_64 and arm64 (as of Impala 4.4). Impala Requirements contains more detailed information on the minimum CPU requirements.
Impala runs on Linux systems only. The supported distros are
Other systems, e.g. SLES15/16, may also be supported but are not tested by the community.
This distribution uses cryptographic software and may be subject to export controls. Please refer to EXPORT_CONTROL.md for more information.
See Impala's developer documentation to get started.
Detailed build notes has some detailed information on the project layout and build.