dqkqd commented on code in PR #18104:
URL: https://github.com/apache/datafusion/pull/18104#discussion_r2442733990
##########
datafusion/core/tests/dataframe/mod.rs:
##########
@@ -6479,3 +6479,87 @@ async fn
test_duplicate_state_fields_for_dfschema_construct() -> Result<()> {
Ok(())
}
+
+#[tokio::test]
+async fn array_distinct_on_list_with_inner_nullability_causing_type_mismatch(
Review Comment:
I added a test in `set_ops.rs`, but it seems quite different with the issue
description.
At first glance, to the issue description, I thought the error was caused by
the data type mismatch between
`array_distinct` and `make_array`.
But the actual error was due to the type mismatch in the `array_distinct`
itself.
--
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]