commit | 32bb425719c28941096220d5c6cf027b9f04ac82 | [log] [tgz] |
---|---|---|
author | Zoltan Borok-Nagy <boroknagyz@cloudera.com> | Fri Sep 18 12:43:06 2020 +0200 |
committer | Impala Public Jenkins <impala-public-jenkins@cloudera.com> | Sat Sep 19 20:10:48 2020 +0000 |
tree | dc9103c153f04797cb2ce0a6cd9aa31b7c86cb3f | |
parent | 8e745a778078b8b0f07573d6c2f53d80bc079a12 [diff] |
IMPALA-9652: CTAS doesn't respect transactional properties Because of a bug the INSERT part of a CTAS statement didn't run in a transaction and it just put the new files under the root directory of the table. This didn't cause too much problems because there couldn't be any concurrent operations as the table was under construction. However, this behavior is not working particularly well in the context of replication, as the notification event needs a transaction id. With this fix the INSERT operation runs in a transaction and the new files are created under a delta directory. Testing: * Added CTAS statements and SHOW FILES <tbl> queries to acid-insert.test Check if the files are created in a delta directory, if so, then the INSERT must have been running in a transaction. Change-Id: I6ed96aeadbcead9fdc548da5922a066460ff9f77 Reviewed-on: http://gerrit.cloudera.org:8080/16472 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:
To learn more about Impala as a business user, or to try Impala live or in a VM, 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.
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.