xxchan created AVRO-4025: ---------------------------- Summary: spec: Add nan/inf/-inf for default values of float/double Key: AVRO-4025 URL: https://issues.apache.org/jira/browse/AVRO-4025 Project: Apache Avro Issue Type: Bug Components: spec Reporter: xxchan
This behavior has existed in java (the de-facto standard) for >10 years, and in the real world such schema do exists. https://github.com/apache/avro/blob/42c54e68120bb5c2393954b5990a0aa3b3960510/lang/java/compiler/src/main/javacc/org/apache/avro/compiler/idl/idl.jj#L318-L322 [AVRO-972](https://issues.apache.org/jira/browse/AVRO-972) So we'd better update the spec to reflect this. originally posted from https://github.com/apache/avro/pull/3051#issuecomment-2254099496 -- This message was sent by Atlassian Jira (v8.20.10#820010)