alamb commented on code in PR #27536:
URL: https://github.com/apache/datafusion/pull/27536#discussion_r4648470393
##########
datafusion/expr-common/src/type_coercion/binary/tests/comparison.rs:
##########
@@ -895,6 +895,114 @@ fn
test_type_union_coercion_prefers_finer_timestamp_unit() {
);
}
+#[test]
+fn test_struct_type_union_field_contracts() -> Result<()> {
Review Comment:
I think this would be much better to test with .slt / SQL / dataframe as
that is the end user API -- these tests don't really pin the behavior from a
user perspective
I realize we may have to make a table with a registered type
--
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]