I agree with you proposal staying within the range. However, you propose this 
to align with the nanosecond timestamps and those are broken for JSON. 

Your proposal called that to my attention.

Clemens

-----Original Message-----
From: glywk <glywk.cont...@gmail.com> 
Sent: Wednesday, January 8, 2025 12:15 AM
To: dev@avro.apache.org
Subject: Re: Add support of time logical type with nanoseconds precision

[Sie erhalten nicht häufig E-Mails von glywk.cont...@gmail.com. Weitere 
Informationen, warum dies wichtig ist, finden Sie unter 
https://aka.ms/LearnAboutSenderIdentification ]

Hi,

Your analysis is interesting but about timestamp. My proposal is about adding 
nanoseconds support on time logical type. As described in AVRO-4043 [1], the 
maximum value of time is 8.64E13. This value doesn't exceeded the upper range 
value 2^53-1 recommended for common interoperability with IEEE
754 floating point representation.

[1]  https://issues.apache.org/jira/browse/AVRO-4043

Regards

Reply via email to