Hello,
I'm trying to read old avro binary data with a new schema (I add a new
field).
This is the Avro Schema (OLD) I was using to write Avro binary data before:
{
namespace: com.hello.world,
type: record,
name: Toto,
fields:
{
name: a,
type: [
The schema is not valid JSON. Maybe you forgot the “[“ after “fields:”?
Lukas
From: Nicolas Phung
Sent: Wednesday, April 8, 2015 9:45 AM
To: user@avro.apache.org
Subject: Issue with reading old data with a new Avro Schema
Hello,
I'm trying to read old avro binary data with a new schema (I
OLD:
{
namespace: com.hello.world,
type: record,
name: Toto,
fields: [
{
name: a,
type: [
string,
null
]
},
{
name: b,
type: string
}
]
}
NEW:
{