Open sayJason opened 6 days ago
Hi @sayJason, please add branch-* labels to identify which branch(es) this C-bug affects.
:owl: Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.
Hello, I am Blathers. I am here to help you get the issue triaged.
Hoot - a bug! Though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here.
I have CC'd a few people who may be able to assist you:
If we have not gotten back to your issue within a few business days, you can try the following:
:owl: Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.
I attach the original bug report, which may help understand this bug. crdb-132323-original.log
Hi @sayJason, thanks for the report. Can you explain how you produced the second query plan?
Hi @DrewKimball, I have devised a novel test method which is about to be published. The basic idea is that enforce different execution plans for the same query. Instead of adding query hints that are not commonly available, we combine different SQL statements to construct different metadata, e.g., different data statistics or different index usage, for the same query. If the same query returns different query results, our tool will output a bug report.
Describe the problem
I obtain different query plans for the same query and obtain two query plans, which cause different query results.
To Reproduce
For the first query plan, four rows are returned.
For the second query plan, only one row is returned.
Expected behavior I think these two query plans should return the same query result.
Environment: I download the official binary with version of CCL v24.2.3 @ 2024/09/23 22:30:53 (go1.22.5 X:nocoverageredesign)
Jira issue: CRDB-42975