Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # dev >> Re: De-serializing Thrift Optional fields


Copy link to this message
-
Re: De-serializing Thrift Optional fields
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 <[EMAIL PROTECTED]>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?
> >
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB