You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Martin Tzvetanov Grigorov (Jira)" <ji...@apache.org> on 2021/09/14 12:45:00 UTC
[jira] [Commented] (AVRO-3197) Rust: Disable logical type on
failure
[ https://issues.apache.org/jira/browse/AVRO-3197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17414918#comment-17414918 ]
Martin Tzvetanov Grigorov commented on AVRO-3197:
-------------------------------------------------
Could you please provide a mini application / test case that could be used to debug the issue ? Thank you!
> Rust: Disable logical type on failure
> -------------------------------------
>
> Key: AVRO-3197
> URL: https://issues.apache.org/jira/browse/AVRO-3197
> Project: Apache Avro
> Issue Type: Wish
> Reporter: Guðjón
> Priority: Minor
>
> I have a file containing avro records along with a schema. The schema contains a field that unfortunately has the type `String` but logical type `timestamp-millis`. The Java implementation of the avro spec doesn't complain and simply treats this field as a string, but the rust implementation will return an error since the string type doesn't match with the logical type of timestamp (long).
> I wonder if there could be a possibility to optionally disregard the logical type if this failure is encountered.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)