commit | a702d2d4cf7e2062476e1057ebcbafd5e6fdcf02 | [log] [tgz] |
---|---|---|
author | stiga-huang <huangquanlong@gmail.com> | Thu Jun 24 10:59:41 2021 +0800 |
committer | stiga-huang <huangquanlong@gmail.com> | Fri Jun 25 21:22:22 2021 +0800 |
tree | b51f271f16e7a9c51a7652dc11009bb4193de0fb | |
parent | 8fd6679ae266ffea8f3df6c0386ec4c3f5620013 [diff] |
IMPALA-10765: Allow firing INSERT events with empty results When INSERT or the INSERT part of a CTAS statement produces empty results, catalogd will hit a Precondition check in createInsertEvents() if the statement is not specified with OVERWRITE. This patch removes the checks to relax the restriction. This is consistent with Hive since Hive also fires insert events on empty insert results. Previously when event processor is disabled, we won't generate INSERT events. This is inconsistent with other DDL events which will always be generated by Hive. This patch removes the check on event processor's status. So firing INSERT events is independent to the event processor. This fixes IMPALA-10744. Tests - Add e2e test Change-Id: Id708f38302b37d7e09435e7b8b0c9fc071659606 Reviewed-on: http://gerrit.cloudera.org:8080/17629 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 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.
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.