You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@beam.apache.org by Kelsey RIDER <ke...@ineat-conseil.fr> on 2018/07/20 15:05:52 UTC

Beam and Hive

Hello,

I wrote it all in this SO post: https://stackoverflow.com/questions/51443966/simple-hive-write-not-working

Since then, I've started looking at writing my own Coder to handle the serialization of HCatRecords. But shouldn't this be included?
Suite ? l'?volution des dispositifs de r?glementation du travail, si vous recevez ce mail avant 7h00, en soir?e, durant le week-end ou vos cong?s merci, sauf cas d'urgence exceptionnelle, de ne pas le traiter ni d'y r?pondre imm?diatement.

Re: Beam and Hive

Posted by Tim Robertson <ti...@gmail.com>.
I answered on SO Kelsey,

You should be able to add this I believe to explicitly declare the coder to
use:

p.getCoderRegistry()
  .registerCoderForClass(HCatRecord.class,
WritableCoder.of(DefaultHCatRecord.class));



On Fri, Jul 20, 2018 at 5:05 PM, Kelsey RIDER <kelsey.rider@ineat-conseil.fr
> wrote:

> Hello,
>
>
>
> I wrote it all in this SO post: https://stackoverflow.com/
> questions/51443966/simple-hive-write-not-working
>
>
>
> Since then, I’ve started looking at writing my own Coder to handle the
> serialization of HCatRecords. But shouldn’t this be included?
> Suite à l’évolution des dispositifs de réglementation du travail, si vous
> recevez ce mail avant 7h00, en soirée, durant le week-end ou vos congés
> merci, sauf cas d’urgence exceptionnelle, de ne pas le traiter ni d’y
> répondre immédiatement.
>