[
https://issues.apache.org/jira/browse/AVRO-3711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17684670#comment-17684670
]
Santiago Fraire Willemoes commented on AVRO-3711:
-------------------------------------------------
Thanks Martin, you can assign it to me.
I have some other questions, should I crate separate tickets or can we do them
all here? I can rename it to "doc improvements"
*Fixed types*
I would like to have an example of defaults for the fixed type when using AVDL.
I couldn't find any information, and I'm not even sure it support a default
value.
*Decimal type*
How to specify a default value? I found a bit as well:
{code:java}
decimal(30,12) dec = "\u0000\u0000";
// decimal(30,12) dec2 = 1.2; {code}
The 2nd doesn't work, I saw them in this sample:
[https://github.com/zolyfarkas/avro-schema-examples/blob/master/test-common/src/main/avro/common.avdl#L51]
It's not entirely clear what's the meaning of precision and scale, it would be
nice if we could have some examples in the spec itself:
https://avro.apache.org/docs/1.11.1/specification/#decimal
> Add documentation about uuid in IDL
> -----------------------------------
>
> Key: AVRO-3711
> URL: https://issues.apache.org/jira/browse/AVRO-3711
> Project: Apache Avro
> Issue Type: Improvement
> Components: doc
> Reporter: Santiago Fraire Willemoes
> Priority: Minor
>
> It's possible to parse an uuid in IDL using a logical type, but it is not
> documented in the IDL section:
> [https://avro.apache.org/docs/1.11.1/idl-language/#logical-types]
> The following is valid:
> {code:java}
> record SyntaxFields {
> uuid pk = "pepe";
> }{code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)