neilconway opened a new issue, #25224:
URL: https://github.com/apache/datafusion/issues/25224
### Describe the bug
See #25222, #25223, #25210 for related bugs.
### To Reproduce
```sql
CREATE TABLE t AS VALUES ([1,2,3], [1,2,3], 1), ([4,5,6], [7], 2);
CREATE VIEW v AS SELECT column3 AS id, column1 AS l, NULLIF(column1,
column2) AS nl FROM t;
SELECT id, flatten(array_append([[9]], nl)) FROM v ORDER BY id;
-- row 1: [9, 1, 2, 3] expected [9]
SELECT id, array_agg(nl) AS agg, flatten(array_agg(nl)) FROM v GROUP BY id
ORDER BY id;
-- row 1: agg = [NULL], flatten = [1, 2, 3] expected []
SELECT flatten([arrow_cast([1,2,3], 'FixedSizeList(3, Int64)'),
arrow_cast(NULL, 'FixedSizeList(3, Int64)')]);
-- [1, 2, 3, NULL, NULL, NULL] expected [1, 2, 3]
```
### 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]