Skip to content

Conversation

@yuzefovich
Copy link
Member

In recently merged change we added a test that assumes the inverted join is picked for a query. However, if we happen to not use the freshly collected table stats, we default to using a cross join. Fix this by clearing the stats cache before running the query.

Fixes: #155016.
Release note: None

In recently merged change we added a test that assumes the inverted join
is picked for a query. However, if we happen to not use the freshly
collected table stats, we default to using a cross join. Fix this by
clearing the stats cache before running the query.

Release note: None
@yuzefovich yuzefovich requested review from a team and mgartner October 8, 2025 01:19
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@Uzair5162 Uzair5162 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

@Uzair5162 reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @mgartner)

@yuzefovich
Copy link
Member Author

TFTRs!

bors r+

@craig
Copy link
Contributor

craig bot commented Oct 8, 2025

@craig craig bot merged commit fb3523e into cockroachdb:master Oct 8, 2025
22 of 23 checks passed
@yuzefovich yuzefovich deleted the fix-geo-flake branch October 8, 2025 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pkg/sql/logictest/tests/fakedist-disk/fakedist-disk_test: TestLogic_inverted_index failed

4 participants