Joe McDonnell created IMPALA-15332:
--------------------------------------
Summary: Revisit the type specializations for IN predicates from
IMPALA-6621
Key: IMPALA-15332
URL: https://issues.apache.org/jira/browse/IMPALA-15332
Project: IMPALA
Issue Type: Improvement
Components: Backend
Affects Versions: Impala 5.0.0
Reporter: Joe McDonnell
IMPALA-6621 included special logic for handling int/big_int/float types for IN
predicates. It uses a boost flat_set rather than an unordered_map:
[https://github.com/apache/impala/blob/master/be/src/exprs/in-predicate.h#L456-L477]
[https://github.com/apache/impala/commit/3d65f856f765caa9d87e569373d191f323d94a96]
We recently upgraded Boost and should revisit this logic. In hand tests with
in-predicate-benchmark, using unordered_map for int/big_int/float data types
now works fine and significantly outperforms the flat_set for large N.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)