databricks / spark-xml

XML data source for Spark SQL and DataFrames
Apache License 2.0
505 stars 227 forks source link

Add element attributes to map result when schema specifies MapType #505

Closed srowen closed 3 years ago

srowen commented 3 years ago

Closes #504

codecov-io commented 3 years ago

Codecov Report

Merging #505 (7ea06d9) into master (45b1f73) will increase coverage by 0.02%. The diff coverage is 91.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #505      +/-   ##
==========================================
+ Coverage   86.62%   86.65%   +0.02%     
==========================================
  Files          18       18              
  Lines         927      929       +2     
  Branches       83       79       -4     
==========================================
+ Hits          803      805       +2     
  Misses        124      124              
Impacted Files Coverage Δ
...m/databricks/spark/xml/parsers/StaxXmlParser.scala 97.16% <91.66%> (+0.04%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 45b1f73...7ea06d9. Read the comment docs.