You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Zheng Shao (JIRA)" <ji...@apache.org> on 2008/10/31 23:39:44 UTC

[jira] Commented: (HADOOP-4283) [Hive] user should be able to write their own serde

    [ https://issues.apache.org/jira/browse/HADOOP-4283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12644450#action_12644450 ] 

Zheng Shao commented on HADOOP-4283:
------------------------------------

I think this is done.

> [Hive] user should be able to write their own serde
> ---------------------------------------------------
>
>                 Key: HADOOP-4283
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4283
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/hive
>            Reporter: Namit Jain
>
> [Hive] user should be able to write their own serde. Their is no test currently and the DDL also does not allow that::
> For example: the following syntax should be allowed:
> CREATE TABLE INPUT16_CC(KEY STRING, VALUE STRING) ROW FORMAT SERIALIZER 'org.apache.hadoop.hive.serde2.TestSerDe'  with properties ('testserde.default.serialization.format'='\003', 'dummy.prop.not.used'='dummyy.val');
> LOAD DATA LOCAL INPATH '../data/files/kv1_cc.txt' INTO TABLE INPUT16_CC;
> SELECT INPUT16_CC.VALUE, INPUT16_CC.KEY FROM INPUT16_CC;
> Here the user is specifying its own serde and input file and should be able to read using that

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.