-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Simplify derived effective predicate #21327
Conversation
732b989
to
07290c7
Compare
case LESS_THAN_OR_EQUAL -> "$lte"; | ||
case GREATER_THAN -> "$gt"; | ||
case GREATER_THAN_OR_EQUAL -> "$gte"; | ||
case IS_DISTINCT_FROM -> "$distinct"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should think about adding this to the enum
@@ -2208,7 +2208,7 @@ public void testProjectionPushdownNonPrimitiveTypeExplain() | |||
assertExplain( | |||
"EXPLAIN SELECT id, _row.child, _array[1].child, _map[1] FROM " + tableName, | |||
"ScanProject\\[table = (.*)]", | |||
"expr(.*) := system\\.builtin\\.\\$operator\\$subscript\\(.*, bigint '1'\\).0", | |||
"expr(.*) := .*\\$subscript\\(.*, bigint '1'\\).0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really want tests like this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I'm thinking about removing it. It's super brittle -- it breaks on every other PR that touches the IR.
Sort terms by symbol name and place null checks at the front.
Release notes
(x) This is not user-visible or is docs only, and no release notes are required.