[
https://issues.apache.org/jira/browse/AVRO-4024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17871621#comment-17871621
]
ASF subversion and git services commented on AVRO-4024:
-------------------------------------------------------
Commit 5277c1497697eaf4e48b081a2d5b8cbd2101dd05 in avro's branch
refs/heads/branch-1.12 from Martin Grigorov
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=5277c1497 ]
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]>
(cherry picked from commit dffc13a6b3b71bfd6fd01e3041955e65c0697f3b)
> [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)