You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/08/19 17:57:00 UTC

[jira] [Commented] (AVRO-2881) Java's Protobuf to Avro: Invalid default value, expected double found long: 0

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

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

Commit e7e5cfe44f662c5a1af4c550e76b7756ee7f5e60 in avro's branch refs/heads/master from Koosha
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=e7e5cfe ]

AVRO-2881: Fix Protobuf double default value (#927)

Default value of double should be 0.0 not 0

> Java's Protobuf to Avro: Invalid default value, expected double found long: 0
> -----------------------------------------------------------------------------
>
>                 Key: AVRO-2881
>                 URL: https://issues.apache.org/jira/browse/AVRO-2881
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: java
>            Reporter: Koosha Hosseiny
>            Priority: Major
>
> When generating avro files using java's protobuf to avro conversion, double value's default is set to "0" while it should be "0.0".
> This will cause import failure on BigQuery.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)