-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
roachtest: unoptimized-query-oracle/disable-rules=half/rand-tables failed #91917
Labels
branch-master
Failures and bugs on the master branch.
C-test-failure
Broken test (automatically or manually discovered).
O-roachtest
O-robot
Originated from a bot.
T-sql-queries
SQL Queries Team
Milestone
Comments
cockroach-teamcity
added
branch-master
Failures and bugs on the master branch.
C-test-failure
Broken test (automatically or manually discovered).
O-roachtest
O-robot
Originated from a bot.
release-blocker
Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked.
labels
Nov 15, 2022
Not a release blocker |
rytaft
removed
the
release-blocker
Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked.
label
Nov 15, 2022
|
|
DrewKimball
added a commit
to DrewKimball/cockroach
that referenced
this issue
Nov 18, 2022
The null-rejection rules that simplify outer joins ignore RightJoin expressions because the `CommuteRightJoin` rule normally converts RightJoins to LeftJoins. However, in the case when `CommuteRightJoin` is disabled, we can hit a case where an `IS NOT NULL` filter gets pushed down but then gets pulled back up by decorrelation rules when it can't simplify the RightJoin, causing a cycle. This patch fixes the problem by preventing RightJoins from requesting null-rejection when `CommuteRightJoin` is disabled. Fixes cockroachdb#91917 Release note: None
craig bot
pushed a commit
that referenced
this issue
Nov 29, 2022
92102: opt: prevent null-rejection cycle with RightJoin r=DrewKimball a=DrewKimball The null-rejection rules that simplify outer joins ignore RightJoin expressions because the `CommuteRightJoin` rule normally converts RightJoins to LeftJoins. However, in the case when `CommuteRightJoin` is disabled, we can hit a case where an `IS NOT NULL` filter gets pushed down but then gets pulled back up by decorrelation rules when it can't simplify the RightJoin, causing a cycle. This patch fixes the problem by preventing RightJoins from requesting null-rejection when `CommuteRightJoin` is disabled. Fixes #91917 Release note: None Co-authored-by: Drew Kimball <[email protected]>
blathers-crl bot
pushed a commit
that referenced
this issue
Nov 29, 2022
The null-rejection rules that simplify outer joins ignore RightJoin expressions because the `CommuteRightJoin` rule normally converts RightJoins to LeftJoins. However, in the case when `CommuteRightJoin` is disabled, we can hit a case where an `IS NOT NULL` filter gets pushed down but then gets pulled back up by decorrelation rules when it can't simplify the RightJoin, causing a cycle. This patch fixes the problem by preventing RightJoins from requesting null-rejection when `CommuteRightJoin` is disabled. Fixes #91917 Release note: None
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
branch-master
Failures and bugs on the master branch.
C-test-failure
Broken test (automatically or manually discovered).
O-roachtest
O-robot
Originated from a bot.
T-sql-queries
SQL Queries Team
roachtest.unoptimized-query-oracle/disable-rules=half/rand-tables failed with artifacts on master @ 47c7b3a1bc047fc3e481cf12166885b39519c022:
Parameters:
ROACHTEST_cloud=gce
,ROACHTEST_cpu=4
,ROACHTEST_encrypted=false
,ROACHTEST_ssd=0
Help
See: roachtest README
See: How To Investigate (internal)
This test on roachdash | Improve this report!
Jira issue: CRDB-21486
The text was updated successfully, but these errors were encountered: