You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Niels Basjes (JIRA)" <ji...@apache.org> on 2015/04/15 13:57:58 UTC

[jira] [Commented] (HIVE-9252) Linking custom SerDe jar to table definition.

    [ https://issues.apache.org/jira/browse/HIVE-9252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14496092#comment-14496092 ] 

Niels Basjes commented on HIVE-9252:
------------------------------------

After the initial patch I no longer see anything happening. What is the status?

> Linking custom SerDe jar to table definition.
> ---------------------------------------------
>
>                 Key: HIVE-9252
>                 URL: https://issues.apache.org/jira/browse/HIVE-9252
>             Project: Hive
>          Issue Type: New Feature
>          Components: Serializers/Deserializers
>            Reporter: Niels Basjes
>            Assignee: Ferdinand Xu
>         Attachments: HIVE-9252.1.patch
>
>
> In HIVE-6047 the option was created that a jar file can be hooked to the definition of a function. (See: [Language Manual DDL: Permanent Functions|https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-PermanentFunctions] )
> I propose to add something similar that can be used when defining an external table that relies on a custom Serde (I expect to usually only have the Deserializer).
> Something like this:
> {code}
> CREATE [TEMPORARY] [EXTERNAL] TABLE [IF NOT EXISTS] [db_name.]table_name
>     ...
>     STORED BY 'storage.handler.class.name' [WITH SERDEPROPERTIES (...)] 
>     [USING JAR|FILE|ARCHIVE 'file_uri' [, JAR|FILE|ARCHIVE 'file_uri'] ];
> {code}
> Using this you can define (and share !!!) a Hive table on top of a custom fileformat without the need to let the IT operations people deploy a custom SerDe jar file on all nodes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)