You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/05/11 06:22:00 UTC
[jira] [Commented] (AVRO-3747) Make serde `is_human_readable` configurable
[ https://issues.apache.org/jira/browse/AVRO-3747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17721643#comment-17721643 ]
ASF subversion and git services commented on AVRO-3747:
-------------------------------------------------------
Commit c2ae949a16a701752af14942ec157d6612abb455 in avro's branch refs/heads/master from peter-formlogic
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=c2ae949a1 ]
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 <mg...@apache.org>
* AVRO-3747: Get rid of clippy::unnecessary_mut_passed
Signed-off-by: Martin Tzvetanov Grigorov <mg...@apache.org>
* AVRO-3747: Fix test comments
Signed-off-by: Martin Tzvetanov Grigorov <mg...@apache.org>
---------
Signed-off-by: Martin Tzvetanov Grigorov <mg...@apache.org>
Co-authored-by: Martin Tzvetanov Grigorov <mg...@apache.org>
> 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)