Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-7979

Self-Closing XML Tags Cause Schema Change Exceptions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.19.0
    • 1.20.0
    • Storage - Other
    • None

    Description

      Self closing XML tags are dealt with strangely by java's streaming parser.  If you have data where you have one row containing a self closing XML tag foo (<foo/>) but then in the next row `foo` contains a map or other nested field, Drill will throw a schema change exception.  

      This proposed fix causes Drill to ignore self-closing tags unless they have attributes, which allows data like this to be successfully queried.

       

      Attachments

        Activity

          People

            cgivre Charles Givre
            cgivre Charles Givre
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: