Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore namespaces while reading. #75

Closed
wants to merge 2 commits into from

Conversation

HyukjinKwon
Copy link
Member

#74

This is a workaround to read a XML files with namespaces.
Currently, this ignores namespaces but we might need to handle this by options or other ways.

This PR makes this library able to read a XML file rather than ignoring the rows as malformed rows below:

11:25:32.517 WARN com.databricks.spark.xml.util.InferSchema$: Dropping malformed row: <Topic r:id="">        <catid>1</catid>    </Topic>
root

@codecov-io
Copy link

Current coverage is 89.42%

Merging #75 into master will increase coverage by +0.20% as of 4041114

@@            master     #75   diff @@
======================================
  Files           12      12       
  Stmts          622     624     +2
  Branches        86      86       
  Methods          0       0       
======================================
+ Hit            555     558     +3
  Partial          0       0       
+ Missed          67      66     -1

Review entire Coverage Diff as of 4041114

Powered by Codecov. Updated on successful CI builds.

@HyukjinKwon
Copy link
Member Author

I am going to merge this.

@HyukjinKwon
Copy link
Member Author

Merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants