Hi Peter,

Let's move the discussion to https://issues.apache.org/jira/browse/HIVE-51

RegexSerDe is a good starting point for JSONSerDe.
http://www.slideshare.net/ragho/hive-user-meeting-august-2009-facebook
Page 64 and on has some basic information on how SerDe works and when
you want to implement your own SerDe.

Zheng
On Mon, Feb 15, 2010 at 1:45 PM, Peter Sankauskas <[email protected]> wrote:
> No one has replied to this, so I get the feeling there is no public JSON
> SerDe available. If I am to write my own, which class is the best one to use
> as a base? Should I extend something like LazySimpleSerDe or just implement
> the SerDe interface?
>
> On a side note, the documentation at:
> http://wiki.apache.org/hadoop/Hive/DeveloperGuide
> references a class that does not exist. "RegexDeserializer" which I think
> was originally an example of implementing only a Deserializer became
> "RegexSerDe". Any complaints if I change it (it is a wiki after all)?
>
> Kind regards,
> Peter Sankauskas
>
>
> On Fri, Feb 12, 2010 at 2:05 PM, Peter Sankauskas <[email protected]> wrote:
>>
>> Hey All,
>>
>> I want to use a JSON serde to read some data in Hive, and was wondering if
>> there is an open source one available somewhere?
>>
>> I know AWS has one available at:
>>     s3://elasticmapreduce/samples/hive-ads/libs/jsonserde.jar
>> but I cannot find the source or documentation for it.
>>
>> Kind regards,
>> Peter Sankauskas
>> http://blog.pas.net.au/
>
>



-- 
Yours,
Zheng

Reply via email to