commit | 676f79aa81d02c8638439edf6a43841fb0a7671e | [log] [tgz] |
---|---|---|
author | Csaba Ringhofer <csringhofer@cloudera.com> | Fri Apr 30 16:07:37 2021 +0200 |
committer | Impala Public Jenkins <impala-public-jenkins@cloudera.com> | Fri Apr 30 23:36:31 2021 +0000 |
tree | 8099fec94609c0a5dca027ede13ee59786010f8d | |
parent | 87384e3377ee25f56a16573cf8493c19b4578258 [diff] |
IMPALA-10691: Fix multithreading related crash in CAST FORMAT The issue occurs when a CastFormatExpr is shared among threads and multiple threads call its OpenEvaluator(). Later calls delete the DateTimeFormatContext created by older calls which makes fn_ctx->GetFunctionState() a dangling pointer. This only happens when CastFormatExpr is shared among FragmentInstances - in case of scanner threads OpenEvaluator() is called with THREAD_LOCAL and returns early without modifying anything. Testing: - added a regression test Change-Id: I501c8a184591b1c836b2ca4cada1f2117f9f5c99 Reviewed-on: http://gerrit.cloudera.org:8080/17374 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.