You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2025/05/15 01:05:00 UTC
[jira] [Commented] (IMPALA-14071) Replace MathUtil.saturatingMultiplyCardinalities() with PlanNode.checkedMultiply()
[ https://issues.apache.org/jira/browse/IMPALA-14071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17951541#comment-17951541 ]
ASF subversion and git services commented on IMPALA-14071:
----------------------------------------------------------
Commit f7cf4f8446642b7c50c54c5cba977a4fcdf9a6e3 in impala's branch refs/heads/master from Riza Suminto
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=f7cf4f844 ]
IMPALA-14070: Use checkedMultiply in SortNode.java
maxRowsInHeaps calculation may overflow because it use simple
multiplication. This patch fix the bug by calculating it using
checkedMultiply(). A broader refactoring will be done by IMPALA-14071.
Testing:
Add ee tests TestTopNHighNdv that exercise the issue.
Change-Id: Ic6712b94f4704fd8016829b2538b1be22baaf2f7
Reviewed-on: http://gerrit.cloudera.org:8080/22896
Reviewed-by: Abhishek Rawat <ar...@cloudera.com>
Reviewed-by: Wenzhe Zhou <wz...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
> Replace MathUtil.saturatingMultiplyCardinalities() with PlanNode.checkedMultiply()
> ----------------------------------------------------------------------------------
>
> Key: IMPALA-14071
> URL: https://issues.apache.org/jira/browse/IMPALA-14071
> Project: IMPALA
> Issue Type: Improvement
> Reporter: Riza Suminto
> Assignee: Riza Suminto
> Priority: Minor
> Fix For: Impala 5.0.0
>
>
> The two methods has been used interchangeably in FE code.
> Ideally, we should stick with one for cardinality calculation purpose.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org