Skip to content

Fix information_schema with IS NOT NULL predicate#10867

Merged
findepi merged 1 commit intotrinodb:masterfrom
findepi:findepi/fix-information-schema-with-is-not-null-predicate-739149
Feb 1, 2022
Merged

Fix information_schema with IS NOT NULL predicate#10867
findepi merged 1 commit intotrinodb:masterfrom
findepi:findepi/fix-information-schema-with-is-not-null-predicate-739149

Conversation

@findepi
Copy link
Copy Markdown
Member

@findepi findepi commented Jan 31, 2022

Fixes #10861

@findepi findepi requested a review from sopel39 January 31, 2022 16:55
@cla-bot cla-bot bot added the cla-signed label Jan 31, 2022
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

so this assertion was not correct? why?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

why would it be correct?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

why it was added in first place?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

why it was added in first place?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

that's a question to @sopel39 (see 625712b) :)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ah, I see. I copied that section from somwhere. If you grep though code checkState(!range.isAll()); // Already checked you will find many similar places. I wonder if all of them are correct (some look correct)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

i checked all of them and the only invalid one is covered by #9885

@findepi findepi force-pushed the findepi/fix-information-schema-with-is-not-null-predicate-739149 branch from 1407287 to 73fef85 Compare February 1, 2022 11:14
@findepi findepi merged commit 3234a7e into trinodb:master Feb 1, 2022
@findepi findepi mentioned this pull request Feb 1, 2022
@findepi findepi deleted the findepi/fix-information-schema-with-is-not-null-predicate-739149 branch February 1, 2022 19:16
@github-actions github-actions bot added this to the 370 milestone Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

Query failure when IS NOT NULL predicate used on information_schema

3 participants