hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owen O'Malley" <omal...@apache.org>
Subject Re: using the key from a SequenceFile
Date Thu, 19 Apr 2012 13:09:10 GMT
On Thu, Apr 19, 2012 at 3:07 AM, Ruben de Vries <ruben.devries@hyves.nl> wrote:
> I’m trying to migrate a part of our current hadoop jobs from normal
> mapreduce jobs to hive,
>
> Previously the data was stored in sequencefiles with the keys containing
> valueable data!

I think you'll want to define your table using a custom InputFormat
that creates a virtual row based on both the key and value and then
use the 'STORED AS INPUTFORMAT ...'

-- Owen

Mime
View raw message