[
https://issues.apache.org/jira/browse/AVRO-3279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17492896#comment-17492896
]
radai rosenblatt commented on AVRO-3279:
----------------------------------------
spec isnt limited, and the encodings are free of field numbers, so also are not
limited.
there are language-specific limitations like the. max size of a java string
literal in SCHEMA$ or max size of bytecode per method, but those were addressed
and others will be addressed per language?
> How many fields one can have in record?
> ---------------------------------------
>
> Key: AVRO-3279
> URL: https://issues.apache.org/jira/browse/AVRO-3279
> Project: Apache Avro
> Issue Type: Improvement
> Components: spec
> Reporter: Askar Safin
> Priority: Major
>
> The specification doesn't say how many fields one can have in a record, i. e.
> what is minimal count of fields. I think minimal count should be zero,
> because many programming languages allow empty records.
>
> In my homegrown Rust Avro lib I allow empty records, because they are
> perfectly compatible with Rust type system
--
This message was sent by Atlassian Jira
(v8.20.1#820001)