-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Revert "feat: Implement the bitwise_not in NotExpr (#5902)" #6599
Conversation
This reverts commit 87e5adc
@@ -911,17 +911,15 @@ SELECT not(true), not(false) | |||
---- | |||
false true | |||
|
|||
query BB | |||
query error DataFusion error: Optimizer rule 'simplify_expressions' failed\ncaused by\nInternal error: NOT 'Literal \{ value: Int64\(1\) \}' can't be evaluated because the expression's type is Int64, not boolean or NULL\. This was likely caused by a bug in DataFusion's code and we would welcome that you file an bug report in our issue tracker |
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.
It should fail in type coercion
, it's a future ticket.
We should try to cast param. (if fail cast then throw a error)
wait for opinion of @liukun4515 in #6589 |
cc @RTEnzyme who originally contributed this code. |
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.
thanks @jackwener I found the same issue yesterday 🤣
I agree that |
…ache#6599) This reverts commit 87e5adc
This reverts commit 87e5adc
Which issue does this PR close?
Closes #6589
Rationale for this change
What changes are included in this PR?
Are these changes tested?
Are there any user-facing changes?