kosiew commented on code in PR #23914:
URL: https://github.com/apache/datafusion/pull/23914#discussion_r3819525196
##########
datafusion/common/src/nested_struct.rs:
##########
@@ -513,6 +746,9 @@ pub fn validate_data_type_compatibility(
| (DataType::LargeListView(s), DataType::LargeListView(t)) => {
validate_field_compatibility(s, t)?;
}
+ (DataType::Map(s, source_sorted), DataType::Map(t, target_sorted)) => {
+ validate_map_compatibility(s, *source_sorted, t, *target_sorted)?;
+ }
Review Comment:
[included logical field name in map planner error and add regression
test](https://github.com/apache/datafusion/pull/23914/commits/1308059651ea125fb95a229a9e910f799e658433)
--
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]