SchemaBuilder and logical types

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

SchemaBuilder and logical types

Nandor Kollar
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
Reply | Threaded
Open this post in threaded view
|

Re: SchemaBuilder and logical types

isura
This post has NOT been accepted by the mailing list yet.