avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miki Tebeka <miki.teb...@gmail.com>
Subject Re: text files to avro
Date Thu, 01 Nov 2012 04:08:53 GMT
Actually, I meant something like:
    avro write --schema=/path/to/schema/file input.json > output.avro


On Wed, Oct 31, 2012 at 9:04 AM, ranjith raghunath <
ranjith.raghunath1@gmail.com> wrote:

> Thanks going to give that a shot.
> On Oct 31, 2012 7:29 AM, "Miki Tebeka" <miki.tebeka@gmail.com> wrote:
>
>> You can use the "avro" tool that comes with the Python package
>> (easy_install avro).
>> It can convert both JSON (one per line) or CSV files to avro.
>>
>>
>> On Tue, Oct 30, 2012 at 9:52 PM, Ranjith <ranjith.raghunath1@gmail.com>wrote:
>>
>>> what is the best way to convert a text file into avro format? does the
>>> file need to contain a header? sorry if this is a basic question and has
>>> been answered several times.
>>>
>>> Thanks,
>>> Ranjith
>>
>>
>>

Mime
View raw message