Hi All,
Is the following legal schema:
{
{
metadata : {
schema : {
family : search,
version : v1,
attrs : [ srch ]
}
}
}{
metadata : {
schema : {
family : UDB,
version : v1,
attrs : [ login, reg ]
}
}
}
}
Note the
I am trying to use the c++ generic interface to update the following record:
{
type: record,
namespace: com.abc.v1,
name: “def,
fields: [
{
name: id,
type: [
null,
bytes
]
}
]
}
Completed code sample:
#include attributes.hh
#include avro/Encoder.hh
#include avro/Decoder.hh
#include boost/algorithm/string.hpp
#include boost/typeof/typeof.hpp
#include iomanip
#include vector
#include fstream
#include avro/Compiler.hh
#include avro/Generic.hh
#include