avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kppublicmail ." <kppublicm...@gmail.com>
Subject Re: is this an appropirate Avro use case?
Date Wed, 11 May 2016 15:35:09 GMT
One another option is to convert CSV file to avro before being consumed.

Thanks.
On May 9, 2016 8:58 PM, "Sean Busbey" <busbey@cloudera.com> wrote:

On Mon, May 9, 2016 at 12:21 PM, Koert Kuipers <koert@tresata.com> wrote:
> you cannot use avro to ensure the data comes in the format you expect (the
> negative numbers issue). you will have to parse these variations before
> converting to avro.

Unless, of course, you can get the folks sending you data to agree to
send it in Avro. If you specifically get them to send the numbers
coded as one of the number types in Avro (rather than i.e. a string),
you'd be able to parse it the same way all of the time.




--
busbey

Mime
View raw message