dqkqd commented on PR #18104:
URL: https://github.com/apache/datafusion/pull/18104#issuecomment-3419071411
I verified the added test fail without the changes:
```
running 1 test
test
dataframe::array_distinct_on_list_with_inner_nullability_causing_type_mismatch
... FAILED
failures:
failures:
dataframe::array_distinct_on_list_with_inner_nullability_causing_type_mismatch
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 766
filtered out; finished in 0.29s
stderr ───
thread
'dataframe::array_distinct_on_list_with_inner_nullability_causing_type_mismatch'
panicked at datafusion/core/tests/dataframe/mod.rs:6554:46:
called `Result::unwrap()` on an `Err` value: Internal("Function
'array_distinct' returned value of type 'List(Field { name: \"item\",
data_type: Int32, nullable: false, dict_id: 0, dict_is_ordered: false,
metadata: {} })' while the following type was promised at planning time and
expected: 'List(Field { name: \"item\", data_type: Int32, nullable: true,
dict_id: 0, dict_is_ordered: false, metadata: {} })'")
note: run with `RUST_BACKTRACE=1` environment variable to display a
backtrace
Cancelling due to test failure:
────────────
Summary [ 0.331s] 1 test run: 0 passed, 1 failed, 1690 skipped
FAIL [ 0.298s] datafusion::core_integration
dataframe::array_distinct_on_list_with_inner_nullability_causing_type_mismatch
error: test run failed
```
--
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]