ufuksungu commented on PR #44022:
URL: https://github.com/apache/spark/pull/44022#issuecomment-1917451671

   @srowen, let's say your inner xml contains **Name="a" Surname="b" 
SecId="1"** with PERSON tag and the root tag is TEAMS. After reading XML source 
with "rowTag", "TEAMS"  you get **"{a, 1, b, null}"** or something like similar 
to this. After casting operation, it cannot be parsed to structured form. As 
well as same thing goes for if you not casting it to String, after reading 
operation, yes you have StructType with related StructFields but it needs a 
additional transformations. What i aimed in here, getting Structured Data by 
using inner functions of XML
   
   


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