[ 
https://issues.apache.org/jira/browse/AVRO-4024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17871620#comment-17871620
 ] 

ASF subversion and git services commented on AVRO-4024:
-------------------------------------------------------

Commit dffc13a6b3b71bfd6fd01e3041955e65c0697f3b in avro's branch 
refs/heads/main from Martin Grigorov
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=dffc13a6b ]

AVRO-4024: [Rust] Sync the possible String default values for floating numbers 
with Java and C# (#3073)

* AVRO-4024: [Rust] Improve the error messages when parsing unknown String into 
Value::Float/Double

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

* AVRO-4024: [Rust] Accept only "Nan", "INF", "-INF", "Infinity" and "-Infinity"

This is what the Java SDK (via Jackson library) supports 
(https://github.com/apache/avro/pull/3066).
This is what the C# SDK also would support 
(https://github.com/apache/avro/pull/3070)

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

---------

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

> [Rust]: Fix default value support for double and float as "NaN", "Infinity" 
> and "-Infinity"
> -------------------------------------------------------------------------------------------
>
>                 Key: AVRO-4024
>                 URL: https://issues.apache.org/jira/browse/AVRO-4024
>             Project: Apache Avro
>          Issue Type: Bug
>            Reporter: xxchan
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h 40m
>  Remaining Estimate: 0h
>
> same as [AVRO-2880] (C++), for rust



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to