Closed cgivre closed 1 year ago
@mbeckerle
Sorry bogged down. Will review soon.
I'm ok with merging this. It's still a bit of a work-in-progress (hence the Part 1)
Some TODOs in here are mine. I do intend to get to them, but no reason to hold up this change set for that.
I highly recommend that you squash these 15 commits together into one coherent commit rather than commit all 15 as is.
@jnturton Are we good to go?
@mbeckerle We always squash commits for Drill PRs :-) I think the TODOs are ok here since this is part 1.
@jnturton I fixed imports. @mbeckerle I added one exception which removed a TODO.
DRILL-8453: Add XSD Support to XML Reader (Part 1)
Description
This PR is a part of a series to add better support for reading XML data to Drill. One of the main challenges is that XML data does not have a way of inferring data types, nor does it have a way of detecting arrays.
The only way to do this really well is to have a schema. Some XML files link a schema definition file to the data. This PR adds the capability for Drill to map XSD schema files into Drill schemas.
The current plan is as follows:
Documentation
No user facing changes.
Testing
Added new unit tests.