comphead opened a new issue, #9320:
URL: https://github.com/apache/arrow-datafusion/issues/9320
### Describe the bug
```
select lag(a) over () as x1
from
(select 2 id, 'b' a union all select 1 id, null a union all select 3
id, null);
Arrow error: Invalid argument error: Column 'a' is declared as non-nullable
but contains null values
```
### To Reproduce
Above
### Expected behavior
Query should work
### Additional context
We faced this issue not once, latest is
https://github.com/apache/arrow-datafusion/issues/4828
Found when working on https://github.com/apache/arrow-datafusion/pull/9221
--
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]