huberylee commented on issue #43205: URL: https://github.com/apache/arrow/issues/43205#issuecomment-2224297057
PostgreSQL supports decimal NaN by using a sign bit in its internal decimal format to mark decimal NaN values. > In addition to ordinary numeric values, the numeric type has several special values: > Infinity > -Infinity > NaN https://www.postgresql.org/docs/current/datatype-numeric.html#DATATYPE-NUMERIC-DECIMAL We can use a similar method as with floating point types to represent NaN values by using an unused value at a specific precision. For details, refer to: https://www3.ntu.edu.sg/home/ehchua/programming/java/datarepresentation.html -- 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]
