-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
InList Expr: expr and list values must can be converted to a same data type #2759
Closed
Tracked by
#2755
Labels
bug
Something isn't working
Comments
7 tasks
In the datafusion, we can convert NULL value of the NULL type to any other NULL value of data type.
|
If we want to use the NULL in the list expr. The data type of NULL is |
In the spark, we can't compare decimal with boolean, but can compare decimal with Null.
|
This was referenced Jun 23, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
In current inList implemention, we don't consider the data type of the list value.
For example:
I create a table
with data
using the in filter to select data
The column of c is
bool
data type, we can apply the compare operations to diff data type.The behavior of other database, such as spark
we will get the error message
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: