Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
Impala 2.10.0
-
None
-
ghx-label-7
Description
The loop in GetRowsFromPartition() invokes Finalize()/Serialize() on all of the rows in output_partition_, which may allocate local allocations in output_partition_->agg_fn_evals. These are not cleared out until the partition is destroyed.
If the having conjuncts are very select this can result in a lot of excess memory. E.g. the following query results in a lot of non-buffer-pool memory overhead:
select l_orderkey, min(l_comment) from tpch_parquet.lineitem group by l_orderkey having min(l_comment) like '%slow dolphins%' order by l_orderkey
Attachments
Issue Links
- relates to
-
IMPALA-5844 Fix management of FunctionContext "local" allocations.
- Resolved