|
|
-
Creating a table with a custom InputFormatJosh Spiegel 2012-10-11, 02:21
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, 02:49
+
Josh Spiegel 2012-10-11, 03:26
+
Edward Capriolo 2012-10-11, 03:33
+
Josh Spiegel 2012-10-11, 03:43
|