parthchandra opened a new pull request, #1771:
URL: https://github.com/apache/datafusion-comet/pull/1771

   ## Which issue does this PR close?
   
   #1754 
   
   
   
   ## Rationale for this change
   
   In schema_adapter Map types are cast using arrow's cast which assumes that 
all nested fields within the map are also castable. However, the check to 
verify if the fields can be cast does not take into account nested struct 
fields with a different number of fields. 
   
   ## What changes are included in this PR?
   
   The PR changes the cast method to a copy of the original that calls the 
schema adapter's struct cast method which can handle such structs
   
   ## How are these changes tested?
   
   Unit test was already added. This PR enables the test


-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to