panbingkun opened a new pull request, #46674:
URL: https://github.com/apache/spark/pull/46674

   ### What changes were proposed in this pull request?
   The PR aims to cleanup some redundant codes (support for `ArrayType` & 
`MapType`)
   
   ### Why are the changes needed?
   As discussed below, we will not support `ArrayType` and `MapType` in 
`from_xml`, so we can re move the logic related to them.
   https://issues.apache.org/jira/browse/SPARK-44810
   <img width="682" alt="image" 
src="https://github.com/apache/spark/assets/15246973/9b78abb2-7907-4ff5-9177-0e09b5f5a9b5";>
   <img width="706" alt="image" 
src="https://github.com/apache/spark/assets/15246973/64f61727-80c2-4946-826c-0940b3ab288d";>
   
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   
   ### How was this patch tested?
   - Add new UT & existed UT.
   - Pass GA.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   No.
   


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

Reply via email to