Yaniv Rubinpur created AVRO-3997:
------------------------------------
Summary: Add a way to create logical schema from code
Key: AVRO-3997
URL: https://issues.apache.org/jira/browse/AVRO-3997
Project: Apache Avro
Issue Type: Improvement
Affects Versions: 1.11.3
Reporter: Yaniv Rubinpur
Related to https://issues.apache.org/jira/browse/AVRO-2211
There is still no way to build a logical schema (using create methods). The
only way to do it currently is by parsing a JSON string:
Schema.Parse(@"\{""type"":""long"", ""logicalType"":""timestamp-millis""}");
There should be a way to create it with a factory method like other schema
types:
LogicalSchema.Create(Schema baseSchema, string logicalTypeName, ...);
--
This message was sent by Atlassian Jira
(v8.20.10#820010)