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 Plain View
Hive >> mail # user >> Creating a table with a custom InputFormat


+
Josh Spiegel 2012-10-11, 02:21
+
Edward Capriolo 2012-10-11, 02:49
Copy link to this message
-
Re: Creating a table with a custom InputFormat
Thanks.  Do you have the bug number?  I couldn't find it.

On Wed, Oct 10, 2012 at 7:49 PM, Edward Capriolo <[EMAIL PROTECTED]>wrote:

> No this is not we have a ticket open to propage tbl properies matching
> a pattern to the input format but not complete yet.
>
> On Wed, Oct 10, 2012 at 10:21 PM, Josh Spiegel <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I want to create a table with a custom InputFormat.  For example,
> something
> > like this:
> >
> > CREATE TABLE xxx (blah string)
> > STORED AS
> >    INPUTFORMAT 'org.foo.MyInputFormat'
> >    OUTPUTFORMAT 'org.foo.MyOutputFormat'
> > ;
> >
> > I also want to be able specify some configuration values that will be
> > available to the InputFormat (possibly via the JobConf).  Is this
> possible?
> >
> > It looks like "stored by"/HiveStorageHandler might make this possible by
> > allowing me to push TBLPROPERTIES into the JobConf.  But I would like to
> > avoid a non-native table if possible.
> >
> > Thanks,
> > Josh
>
+
Edward Capriolo 2012-10-11, 03:33
+
Josh Spiegel 2012-10-11, 03:43
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