martin-g commented on a change in pull request #1413:
URL: https://github.com/apache/avro/pull/1413#discussion_r766099764
##########
File path: doc/src/content/xdocs/idl.xml
##########
@@ -252,6 +252,14 @@ record Job {
time_ms submitTime;
timestamp_ms finishTime;
decimal(9,2) finishRatio;
+}
+ </source>
+ <p>Logical types can also be specified via an annotation, which is
useful for logical types for which a keyword does not exist:</p>
+ <source>
+record Job {
+ string jobid;
+ @logicalType("timestamp-micros")
+ long finishTime;
Review comment:
Copied to the new website:
https://github.com/martin-g/avro-website/commit/f685368ff8d211494c2ea84e059cc57d4bb3adf9
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]