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
[YSQL][randgen] Query with join on inequality condition incorrectly returns rows with NULL in the key column #20642
Labels
Comments
mtakahar
added
area/ysql
Yugabyte SQL (YSQL)
status/awaiting-triage
Issue awaiting triage
labels
Jan 16, 2024
yugabyte-ci
added
kind/bug
This issue is a bug
priority/medium
Medium priority issue
labels
Jan 16, 2024
yugabyte-ci
added
priority/highest
Highest priority issue
and removed
priority/medium
Medium priority issue
labels
Jan 17, 2024
tanujnay112
added a commit
that referenced
this issue
Jan 19, 2024
…olumn OP NULL conditions Summary: If an index scan has a condition of the form `index_column OP NULL` then it should bail out early without sending anything to DocDB. This optimization was only done where OP was `=`. This change extends that to the other btree operators `>/>=/</<=`. Jira: DB-9640 Test Plan: ./yb_build.sh fastdebug --java-test TestPgRegressIndex Reviewers: jason, mtakahara, amartsinchyk Reviewed By: amartsinchyk Subscribers: yql Tags: #jenkins-ready Differential Revision: https://phorge.dev.yugabyte.com/D31772
1 task
tanujnay112
added a commit
that referenced
this issue
Jan 19, 2024
…e presence of column OP NULL conditions Summary: Original commit: caa2cf8 / D31772 If an index scan has a condition of the form `index_column OP NULL` then it should bail out early without sending anything to DocDB. This optimization was only done where OP was `=`. This change extends that to the other btree operators `>/>=/</<=`. Jira: DB-9640 Test Plan: ./yb_build.sh fastdebug --java-test TestPgRegressIndex Reviewers: jason, mtakahara, amartsinchyk Reviewed By: amartsinchyk Subscribers: yql Tags: #jenkins-ready Differential Revision: https://phorge.dev.yugabyte.com/D31803
tanujnay112
added a commit
that referenced
this issue
Jan 19, 2024
…the presence of column OP NULL conditions Summary: Original commit: caa2cf8 / D31772 If an index scan has a condition of the form `index_column OP NULL` then it should bail out early without sending anything to DocDB. This optimization was only done where OP was `=`. This change extends that to the other btree operators `>/>=/</<=`. Jira: DB-9640 Test Plan: ./yb_build.sh fastdebug --java-test TestPgRegressIndex Reviewers: jason, mtakahara, amartsinchyk Reviewed By: amartsinchyk Subscribers: yql Tags: #jenkins-ready Differential Revision: https://phorge.dev.yugabyte.com/D31804
tanujnay112
added a commit
that referenced
this issue
Jan 19, 2024
…e presence of column OP NULL conditions Summary: Original commit: caa2cf8 / D31772 If an index scan has a condition of the form `index_column OP NULL` then it should bail out early without sending anything to DocDB. This optimization was only done where OP was `=`. This change extends that to the other btree operators `>/>=/</<=`. Jira: DB-9640 Test Plan: ./yb_build.sh fastdebug --java-test TestPgRegressIndex Reviewers: jason, mtakahara, amartsinchyk Reviewed By: amartsinchyk Subscribers: yql Tags: #jenkins-ready Differential Revision: https://phorge.dev.yugabyte.com/D31805
mtakahar
changed the title
[YSQL] Query with join on inequality condition incorrectly returns rows with NULL in the key column
[YSQL][randgen] Query with join on inequality condition incorrectly returns rows with NULL in the key column
Feb 9, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Jira Link: DB-9640
Description
Test case
This query should not return any row but returned one:
PG15 results:
Issue Type
kind/bug
Warning: Please confirm that this issue does not contain any sensitive information
The text was updated successfully, but these errors were encountered: