You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@avro.apache.org by Nandor Kollar <nk...@cloudera.com> on 2017/08/16 07:57:52 UTC
SchemaBuilder and logical types
Hi,
I'm wondering how to construct a schema with logical types like this with
the SchemaBuilder fluent interface:
{
"type" : "record",
"name" : "test_schema",
"fields" : [ {
"name" : "test_date_field",
"type" : {
"type" : "int",
*"logicalType" : "date"*
}
} ]
}
It looks like SchemaBuilder doesn't support logical types?
Thanks,
Nandor