Agree with Jason that it would be useful to know what your use case is. I'm sure a large subset of use cases can be handled (eventually). Many EDI messages, for example, are defined easily in XML and could be handled by Drill's model. What is the workaround for your problem? It would be helpful to others if you could share.
Parth On Fri, Sep 4, 2015 at 9:57 AM, Jason Altekruse <[email protected]> wrote: > One of the times this came up I asked about what the requirements would be, > because pure XML is actually not well suited for placing in a standard SQL > table, and some of the constructs are even hard to map into the > JSON/protobuf model we are currently using for complex data in Drill. > > I actually do not have experience with the XML support in SQL databases, so > I might misunderstand what is desired in terms of supporting XML. If there > is a subset of XML that does fit well into our current model it should not > be hard to write a format plugin for it. > > The question I had was what if someone has us read a directory full of > XHTML files, what is the output of that query supposed to look like? > > Here is the thread from one of the earlier discussions: > http://mail-archives.apache.org/mod_mbox/drill-user/201503.mbox/browser > > If you can share the kind of XML you would like to read that would be > helpful in defining this task more concretely. We should try to record some > of this discussion in a JIRA so someone can come along to implement the > feature, or it can be prioritized for inclusion in an upcoming release. > > On Fri, Sep 4, 2015 at 9:37 AM, Harold Richter < > [email protected]> wrote: > > > Appreciate the quick response. For the use case in front of me today, > I > > can use other Drill features to read the data. Just trying to pick an > > optimal strategy. > > Thank you - HR > > > > > > -----Original Message----- > > From: Christopher Matta [mailto:[email protected]] > > Sent: Friday, September 04, 2015 11:14 AM > > To: [email protected] > > Subject: Re: xml files with Drill > > > > People have been asking for this functionality since Drill existed, if it > > were as straightforward as everyone says I'd think we'd have it working > by > > now. > > > > On Friday, September 4, 2015, Jim Scott <[email protected]> wrote: > > > > > Drill does not support XML. > > > > > > I have talked with folks who have tremendous experience with XML > > > databases and parsing to see if we can wrangle up help getting that > > > type of functionality in, but at this point it isn't happening yet. > > > > > > > > > On Fri, Sep 4, 2015 at 9:50 AM, Harold Richter < > > > [email protected] <javascript:;>> wrote: > > > > > > > Looking for documentation, example or syntax to read xml files with > > > Drill. > > > > > > > > Is there a way to invoke an xml parser in Drill? > > > > > > > > Thanks- > > > > [email protected] <javascript:;> > > > > > > > > > > > > > > > > > -- > > > *Jim Scott* > > > Director, Enterprise Strategy & Architecture > > > +1 (347) 746-9281 > > > @kingmesal <https://twitter.com/kingmesal> > > > > > > <http://www.mapr.com/> > > > [image: MapR Technologies] <http://www.mapr.com> > > > > > > Now Available - Free Hadoop On-Demand Training < > > > http://www.mapr.com/training?utm_source=Email&utm_medium=Signature&utm > > > _campaign=Free%20available > > > > > > > > > > > > > -- > > Chris Matta > > [email protected] > > 215-701-3146 > > >
