jonahgao opened a new pull request, #6799:
URL: https://github.com/apache/arrow-datafusion/pull/6799
# Which issue does this PR close?
None
# Rationale for this change
Similar to #6786 .
We can safely assume that the `InList` expr is non-nullalbe only if all of
its subexpressions are non-nullable.
An example of a nullable expression is:
```
DataFusion CLI v27.0.0
❯ select 1 in(2, null);
+----------------------------------------------------------------------+
| Int64(1) IN (Map { iter: Iter([Literal(Int64(2)), Literal(NULL)]) }) |
+----------------------------------------------------------------------+
| |
+----------------------------------------------------------------------+
```
# What changes are included in this PR?
- fix incorrect nullability of `InList` expr
- cleaner code for insert.rs
# Are these changes tested?
Yes
# Are there any user-facing changes?
No
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]