You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "neilconway (via GitHub)" <gi...@apache.org> on 2026/06/03 00:41:44 UTC
[I] `estimate_inner_join_cardinality` is incorrect for multi-key joins [datafusion]
neilconway opened a new issue, #22724:
URL: https://github.com/apache/datafusion/issues/22724
### Describe the bug
`estimate_inner_join_cardinality` sets `join_selectivity` to larger of the NDVs of whichever join key is last in the list. The intent was presumably to set `join_selectivity` to the max of the pair-wise maxes of the join keys, i.e., to use the most selective join key as the selectivity of the selectivity of the join itself.
### To Reproduce
_No response_
### Expected behavior
_No response_
### Additional context
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [I] `estimate_inner_join_cardinality` is incorrect for multi-key joins [datafusion]
Posted by "neilconway (via GitHub)" <gi...@apache.org>.
neilconway commented on issue #22724:
URL: https://github.com/apache/datafusion/issues/22724#issuecomment-4608121523
take
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [I] `estimate_inner_join_cardinality` is incorrect for multi-key joins [datafusion]
Posted by "xudong963 (via GitHub)" <gi...@apache.org>.
xudong963 closed issue #22724: `estimate_inner_join_cardinality` is incorrect for multi-key joins
URL: https://github.com/apache/datafusion/issues/22724
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org