avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Busbey <bus...@cloudera.com>
Subject Re: is this an appropirate Avro use case?
Date Tue, 10 May 2016 00:58:19 GMT
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