[
https://issues.apache.org/jira/browse/SPARK-44810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17847247#comment-17847247
]
BingKun Pan commented on SPARK-44810:
-------------------------------------
[~sandip.agarwala]
Sorry to bother you, I want to know that our function seems to be able to
handle type `StructType`, `ArrayType` and `MapType` from the code
`XmlToStructs`, but from the entry
`sql/core/src/main/scala/org/apache/spark/sql/functions.scala#from_xml(...)`,
it seems to only support `StructType`. Will we support `ArrayType` and
`MapType` in the future? or we should remote it?
!image-2024-05-17-19-22-31-844.png|width=638,height=187!
!image-2024-05-17-19-23-07-534.png|width=638,height=213!
> XML: ArrayType and MapType support in from_xml
> ----------------------------------------------
>
> Key: SPARK-44810
> URL: https://issues.apache.org/jira/browse/SPARK-44810
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 4.0.0
> Reporter: Sandip Agarwala
> Priority: Major
> Attachments: image-2024-05-17-19-22-31-844.png,
> image-2024-05-17-19-23-07-534.png
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]