[
https://issues.apache.org/jira/browse/AVRO-3747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17721644#comment-17721644
]
ASF subversion and git services commented on AVRO-3747:
-------------------------------------------------------
Commit 107c903fac0ed9992ddda21bd2e7659da68e5485 in avro's branch
refs/heads/branch-1.11 from peter-formlogic
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=107c903fa ]
AVRO-3747: [Rust] Set `is_human_readable` hint to `false` for `Value` (#2202)
* Set `is_human_readable` hint to `false` for `Value`
* Include for `de` as well
* Fix windows path error
* Include test
* Fix clippy lint and add util for setting whether it's human readable
* AVRO-3747: [Rust] Make serde `is_human_readable` configurable
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
* AVRO-3747: Get rid of clippy::unnecessary_mut_passed
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
* AVRO-3747: Fix test comments
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
---------
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Co-authored-by: Martin Tzvetanov Grigorov <[email protected]>
(cherry picked from commit c2ae949a16a701752af14942ec157d6612abb455)
> Make serde `is_human_readable` configurable
> -------------------------------------------
>
> Key: AVRO-3747
> URL: https://issues.apache.org/jira/browse/AVRO-3747
> Project: Apache Avro
> Issue Type: Bug
> Components: rust
> Reporter: Cetra Free
> Priority: Trivial
> Labels: pull-request-available
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> Serde's `Serializer` trait has a type hint for dictating when a format will
> be "human readable" or not. This allows implementers of the `Serialize`
> trait to define whether they want a compact representation of data.
> I need this change so that I can ensure timestamps are either rfc 3389 string
> or millisecond integers depending on type.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)