dzamo commented on pull request #2283:
URL: https://github.com/apache/drill/pull/2283#issuecomment-891185264


   Yes, I think I did grok the unknown schema problem.  The thought above, 
which somehow escaped all the striking out I did to it after thinking a bit 
more, was to take advantage of the fact that scalar string can be embedded into 
a single element map.  The tuple generating code would need to become aware 
when it should do this.
   
   My second comment's comparison of the situation with a JSON property that is 
first null, then an object, is also a bit dubious because empty XML elements do 
not represent nulls (from I what read) so much as zero length strings.  
   
   If there is an effort to make querying XML behave in a more similar way to 
querying equivalent JSON, for some definition of equivalent, it should probably 
wait for another PR.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to