You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "jonahgao (via GitHub)" <gi...@apache.org> on 2023/09/07 16:00:54 UTC
[GitHub] [arrow-datafusion] jonahgao opened a new issue, #7495: InList bug: Arrow error: Invalid argument error: Column is declared as non-nullable but contains null values
jonahgao opened a new issue, #7495:
URL: https://github.com/apache/arrow-datafusion/issues/7495
### Describe the bug
The nullability calculation of `InListExpr` is incorrect, leading to unexpected errors in some queries.
https://github.com/apache/arrow-datafusion/blob/dfd685187dba7a44f47ff2a36dc09651f7fd2a1f/datafusion/physical-expr/src/expressions/in_list.rs#L327-L329
### To Reproduce
```sh
DataFusion CLI v30.0.0
❯ create table t(a int) as values(1), (null);
0 rows in set. Query took 0.048 seconds.
❯ select 1 in (a, 2) from t;
Arrow error: Invalid argument error: Column 'Int64(1) IN (Map { iter: Iter([Column(Column { relation: Some(Bare { table: "t" }), name: "a" }), Literal(Int64(2))]) })' is declared as non-nullable but contains null values
```
### Expected behavior
_No response_
### Additional context
_No response_
--
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: github-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-datafusion] alamb closed issue #7495: InList bug: Arrow error: Invalid argument error: Column is declared as non-nullable but contains null values
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb closed issue #7495: InList bug: Arrow error: Invalid argument error: Column is declared as non-nullable but contains null values
URL: https://github.com/apache/arrow-datafusion/issues/7495
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org