I am not an avro expert, but one thing to check would be the avro
versions used to write the data is compatible with the version used with
pig to read the data.
-Thejas
On 9/26/11 3:05 AM, Alex Holmes wrote:
Hi,
Anyone have any idea what could be up? Is the Avro support in Pig not
ready for
Hi,
Anyone have any idea what could be up? Is the Avro support in Pig not
ready for prime time yet?
Thanks,
Alex
On Wed, Sep 21, 2011 at 8:01 PM, Alex Holmes wrote:
> Hi all,
>
> I have a simple schema
>
> {"name": "Record", "type": "record",
> "fields": [
> {"name": "name", "type": "strin
Hi all,
I have a simple schema
{"name": "Record", "type": "record",
"fields": [
{"name": "name", "type": "string"},
{"name": "id", "type": "int"}
]
}
which I use to write 2 records to an Avro file with the following code:
public static Record createRecord(String name, int id) {
Re