Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add comments to cardinality estimator code#19973

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
Tmonster wants to merge1 commit intoduckdb:main
base:main
Choose a base branch
Loading
fromTmonster:joo_optimizer_comments

Conversation

@Tmonster
Copy link
Contributor

With@hawkfish working on IEJoin improvements and all of the previous work on ASOF joins, it may be a good idea to update our cardinality estimation logic given these new join types/algorithms.

With that in mind, I thought I would spend a bit of time cleaning up code & renaming structures/classes so that it becomes easier for future engineers to modify the logic to account for different join types.

This PR is strictly adding comments and changing variable names. There should be no actual logic changes (if there are please point them out).

Most of changing of struct names/class names is to move away from the one statistic during CE oftdom to many possible statistics.tdom has also been renamed todistinct_count as I believe that better describes what HLL measures. If we add extra statistics duringExtract<LogicalOperatorType>Statistics we can better estimate cardinalities of ASOF and IE joins.

d-justen reacted with thumbs up emoji
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@hawkfishhawkfishAwaiting requested review from hawkfish

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@Tmonster

[8]ページ先頭

©2009-2025 Movatter.jp