Did you take a look at the linked issue (DRILL-3458)? There should be a patch or a link to a review request made available.
On Sat, Aug 15, 2015 at 3:49 PM, Kartik Bhatia <[email protected]> wrote: > Thanks. I was able to view the contents in the link. > Is there a patch available as mentioned in the link? > > "I think the patch linked from DRILL-3458 should resolve this. In my > limited tests the patch works, but I don't have a real data set in front of > me at the moment to put it through the paces." > > -----Original Message----- > From: Abhishek Girish [mailto:[email protected]] > Sent: Saturday, August 15, 2015 3:47 PM > To: [email protected] > Subject: Re: UnsupportedOperationException: Unimplemented type: UNION > > I'm not sure why you weren't able to open that - I verified that the link I > shared was valid. Can you try this again: > https://issues.apache.org/jira/browse/DRILL-3565 > > If that still doesn't work, you could try going to > https://issues.apache.org/jira then search for "DRILL-3565". > > Regards, > Abhishek > > On Sat, Aug 15, 2015 at 2:12 PM, Kartik Bhatia <[email protected]> wrote: > > > Hi Abhishek, > > I clicked on the link you provided. > > It gave a message "The issue you are trying to view does not exist?" > > > > Thanks > > Kartik > > From: Abhishek Girish [[email protected]] > > Sent: Saturday, August 15, 2015 1:53 PM > > To: [email protected] > > Subject: Re: UnsupportedOperationException: Unimplemented type: UNION > > > > Hey, > > > > SQL UNION operator and AVRO UNION type are two different things. The > latter > > isn't supported yet. You can watch DRILL-3565 > > <https://issues.apache.org/jira/browse/DRILL-3565>for updates on this. > > > > Regards, > > Abhishek > > > > On Sat, Aug 15, 2015 at 1:36 PM, Kartik Bhatia <[email protected]> wrote: > > > > > Hi, > > > I am getting the following error while I try to run avro file. > > > > > > 0: jdbc:drill:zk=local> SELECT * FROM > > > dfs.`C:\Users\kb97407\Downloads\apache-dri > > > > > > ll-1.1.0.tar\apache-drill-1.1.0\apache-drill-1.1.0\sample-data\sample1.avro` > > > LIMIT 3; > > > Error: SYSTEM ERROR: UnsupportedOperationException: Unimplemented type: > > > UNION > > > > > > Fragment 0:0 > > > > > > [Error Id: 33464d39-0730-4fdd-b881-136543323e5e on > > > L_PBL2T91.scif.com:31010] (st > > > ate=,code=0) > > > > > > However according to drill documentation see below (it says feature is > > > supported) > > > > > > SQL UNION Improvements > > > > > > We've enhanced support for SQL UNION functionality. Drill now supports > > > both UNION and UNION ALL capabilities. We've also improved the query > > > optimizer to better optimize plans that include the UNION clause. > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > This e-mail message from State Compensation Insurance Fund and all > > > attachments transmitted with it > > > may be privileged or confidential and protected from disclosure. If you > > > are not the intended recipient, > > > you are hereby notified that any dissemination, distribution, copying, > or > > > taking any action based on it > > > is strictly prohibited and may have legal consequences. If you have > > > received this e-mail in error, > > > please notify the sender by reply e-mail and destroy the original > message > > > and all copies. > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > > >
