| commit | 0616a8f831d63b3c77d80198ff24b64f07b3b849 | [log] [tgz] |
|---|---|---|
| author | Riza Suminto <riza.suminto@cloudera.com> | Wed Nov 08 12:24:14 2023 -0800 |
| committer | Riza Suminto <riza.suminto@cloudera.com> | Thu Nov 09 19:47:24 2023 +0000 |
| tree | 25ed201875635e507033673e6456773ba0a84138 | |
| parent | 3e99dfcd169fe380356eeb74064372fc38201cdc [diff] |
IMPALA-12548: Fix behavior of AGG_MEM_CORRELATION_FACTOR AGG_MEM_CORRELATION_FACTOR has a valid value between 0.0 to 1.0. Like JOIN_SELECTIVITY_CORRELATION_FACTOR option, the correlation factor here is meant to reflect the correlation coefficient between grouping columns. A high value of AGG_MEM_CORRELATION_FACTOR should mean a high correlation between grouping columns. However, the implementation of this query option behaves the opposite. 1.0 is interpreted as no correlation at all in the code, while <1.0 is interpreted as somewhat correlated. This patch fixes the behavior so that the planner lower memory estimate as AGG_MEM_CORRELATION_FACTOR go higher. Testing: - Fix and pass PlannerTest#testAggNodeMaxMemEstimate. - Add testAggNodeLowMemEstimate and testAggNodeHighMemEstimate. Change-Id: I6f81db32a1818abc257957f6de942b5c9f36211a Reviewed-on: http://gerrit.cloudera.org:8080/20684 Reviewed-by: Michael Smith <michael.smith@cloudera.com> Reviewed-by: Kurt Deschler <kdeschle@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
Lightning-fast, distributed SQL queries for petabytes of data stored in Apache Hadoop clusters.
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 has experimental support for arm64 (as of Impala 4.0). 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. SLES12, 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.