drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles Givre (Jira)" <j...@apache.org>
Subject [jira] [Created] (DRILL-7979) Self-Closing XML Tags Cause Schema Change Exceptions
Date Mon, 02 Aug 2021 03:21:00 GMT
Charles Givre created DRILL-7979:

             Summary: Self-Closing XML Tags Cause Schema Change Exceptions
                 Key: DRILL-7979
                 URL: https://issues.apache.org/jira/browse/DRILL-7979
             Project: Apache Drill
          Issue Type: Bug
          Components: Storage - Other
    Affects Versions: 1.19.0
            Reporter: Charles Givre
            Assignee: Charles Givre
             Fix For: 1.20.0

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.


This message was sent by Atlassian Jira

View raw message