wjones127 commented on PR #14198:
URL: https://github.com/apache/arrow/pull/14198#issuecomment-1268968842

   > Here, you also allow renaming the fields when casting to a struct. I think 
I am fine with that, but just wanted to mention it explicitly, since it's a 
grey area between both cases mentioned above (for structs the names are 
important, but for a map type they also don't matter much, so the first cast to 
struct can ignore them?)
   
   Yes, I was careful to make sure this only happens in the `map -> 
list<struct>` path and doesn't affect casts *from* structs. Lists and maps will 
support renaming fields through casting, structs will not (perhaps we want a 
different function for it?).


-- 
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]

Reply via email to