Re: De-serializing Thrift Optional fields

2013-09-20 Thread Edward Capriolo
Hive does not allow empty structs. You have to fill it with at least one dummy column :) On Fri, Sep 20, 2013 at 1:21 AM, Kanwaljit Singh wrote: > > > > Hi, > > > > We are creating a table by De-serializing thrift file. We end up with an > > extra hive column named *optionals* and of the type *s

Re: De-serializing Thrift Optional fields

2013-09-19 Thread Kanwaljit Singh
> > Hi, > > We are creating a table by De-serializing thrift file. We end up with an > extra hive column named *optionals* and of the type *struct<>*. > > This breaks the SELECT * option! How can we prevent it? >