sandip-db opened a new pull request, #43389:
URL: https://github.com/apache/spark/pull/43389

   ### What changes were proposed in this pull request?
   User can specify `rowTag` option that is the name of the XML element that 
maps to a `DataFrame Row`.  A non-existent `rowTag` will not infer any schema 
or generate any `DataFrame` rows. Currently, not specifying `rowTag` option 
results in picking up its default value of  `ROW`, which won't match a real XML 
element in most scenarios. This results in an empty dataframe and confuse new 
users. 
   
   This PR makes `rowTag` a required option.
   
   ### Why are the changes needed?
   See above
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   New unit tests
   
   ### 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