You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Kanwaljit Singh <ba...@gmail.com> on 2013/09/20 07:21:12 UTC
Re: De-serializing Thrift Optional fields
>
> 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?
>
Re: De-serializing Thrift Optional fields
Posted by Edward Capriolo <ed...@gmail.com>.
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 <ba...@gmail.com>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 *struct<>*.
> >
> > This breaks the SELECT * option! How can we prevent it?
> >
>