You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Martijn Visser (Jira)" <ji...@apache.org> on 2022/12/16 09:12:00 UTC
[jira] [Commented] (FLINK-30368) Fix calcite method RelMdUtil$numDistinctVals() wrongly return zero if the method input domainSize much larger than numSelected
[ https://issues.apache.org/jira/browse/FLINK-30368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17648423#comment-17648423 ]
Martijn Visser commented on FLINK-30368:
----------------------------------------
[~337361684@qq.com] Why do this over upgrading to the Calcite version that fixes this? There's a lot of work being done atm the upgrade our Calcite dependencies
> Fix calcite method RelMdUtil$numDistinctVals() wrongly return zero if the method input domainSize much larger than numSelected
> -------------------------------------------------------------------------------------------------------------------------------
>
> Key: FLINK-30368
> URL: https://issues.apache.org/jira/browse/FLINK-30368
> Project: Flink
> Issue Type: Sub-task
> Components: Table SQL / Planner
> Affects Versions: 1.17.0
> Reporter: Yunhong Zheng
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.17.0
>
>
> Fix calcite method RelMdUtil$numDistinctVals() wrongly return zero if the method input domainSize much larger than numSelected. This wrong zero value will affect the selection of join type。
--
This message was sent by Atlassian Jira
(v8.20.10#820010)