Skip to content

Conversation

jeewonhh
Copy link
Contributor

Setting cross-product cardinality in the constructor strangely introduces a new filter operator in the query plan (with cardinality 0). Subsequent operators will adopt 0 as their cardinality, which is incorrect.

Instead, only set the cardinality "safely" inside the query graph manager

This (partially) reverts PR.

@Mytherin Mytherin merged commit 0b0c95b into duckdb:main Sep 16, 2024
37 of 38 checks passed
@Mytherin
Copy link
Collaborator

Thanks!

github-actions bot pushed a commit to duckdb/duckdb-r that referenced this pull request Sep 25, 2024
github-actions bot added a commit to duckdb/duckdb-r that referenced this pull request Sep 26, 2024
Fix Cross Product Cardinality (duckdb/duckdb#13954)

Co-authored-by: krlmlr <krlmlr@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants