[ 
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:
----------------------------------------

[[email protected]] 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)

Reply via email to