You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Taras Bobrovytsky (JIRA)" <ji...@apache.org> on 2017/07/14 03:00:00 UTC
[jira] [Resolved] (IMPALA-5650) COUNT(*) optimization causes a
crash when legacy aggregation is enabled
[ https://issues.apache.org/jira/browse/IMPALA-5650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Taras Bobrovytsky resolved IMPALA-5650.
---------------------------------------
Resolution: Fixed
Fix Version/s: Impala 2.10.0
{code}
commit e6c02db9737e39b3a239e0ea8f92a2fd35f3a8fb
Author: Taras Bobrovytsky <tb...@cloudera.com>
Date: Tue Jul 11 18:38:46 2017 -0700
IMPALA-5650: Make sum_init_zero a SUM function
The recent Parquet count(*) optimization (IMPALA-5036) introduced a new
aggregate function sum_init_zero(). This caused an issue for non
partitioned aggregation node, which checks that the function type is
either count, min, max, sum or ndv. Since sum_init_zero() was not
labelled as a sum() function, a DCHECK was hit. This issue is fixed by
labelling sum_init_zero() as a sum() function.
Testing:
- Verified that we no longer hit a DCHECK when running a query with a
Parquet count(*) optimization with legacy agg node enabled.
Change-Id: Ibca53e3ef6bad5283550100b33db55d674cff0b9
Reviewed-on: http://gerrit.cloudera.org:8080/7404
Reviewed-by: Michael Ho <kw...@cloudera.com>
Tested-by: Impala Public Jenkins
{code}
> COUNT(*) optimization causes a crash when legacy aggregation is enabled
> -----------------------------------------------------------------------
>
> Key: IMPALA-5650
> URL: https://issues.apache.org/jira/browse/IMPALA-5650
> Project: IMPALA
> Issue Type: Bug
> Components: Backend
> Affects Versions: Impala 2.10.0
> Reporter: Taras Bobrovytsky
> Assignee: Taras Bobrovytsky
> Priority: Blocker
> Fix For: Impala 2.10.0
>
>
> Steps to reproduce:
> # Start Impala with the following flag: -enable_partitioned_aggregation=false
> # Run the following query: {code} select count(*) from tpch_parquet.lineitem {code}
> Impala hits a DCHECK:
> {code}
> aggregation-node.cc:669] Check failed: false bad aggregate operator: 6
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)