Hi Stefan, Do you have latest code changes with you (1.2-SNAPSHOT)? Could you please try RC3 build. Yes, it supports nested records.
On Fri, Oct 16, 2015 at 8:28 PM, Stefán Baxter <ste...@activitystream.com> wrote: > Hi, > > Sorry I forgot to mention that I'm already using a 1.2-SNAPSHOT > > Should it be supporting Records as a data type? (use to map sub > structures). > > Regards, > -Stefán > > > > > On Fri, Oct 16, 2015 at 2:31 PM, Kamesh <kamesh.had...@gmail.com> wrote: > > > Hi Stefan, > > We have enhanced Drill Avro Reader by supporting complex data types like > > Union, Map etc.. This is targeted for 1.2.0 release. This release will > > happen in a day or in a couple days. > > > > On Fri, Oct 16, 2015 at 6:30 PM, Stefán Baxter < > ste...@activitystream.com> > > wrote: > > > > > Hi, > > > > > > I'm changing our logging to use the Avro format and there I'm relying > on > > > Maps and Records (f.ex. union ["null","RecordType"]) in addition to > > > primitive types. > > > > > > I'm getting this error in Drill when I try to query the test file: > > > > > > Error: SYSTEM ERROR: UnsupportedOperationException: Avro union type > must > > be > > > of the format : ["null", "some-type"] > > > > > > > > > This error message provides no clues to which field are involved here > but > > > I'm hoping that this does not mean that sub structures, available in > both > > > JSON and Parquet, are not available in Avro as Records. > > > > > > Can someone please shed some light on this. > > > > > > Regards, > > > -Stefan > > > > > > > > > > > -- > > Kamesh. > > > -- Kamesh.