You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Eyad Sibai (Jira)" <ji...@apache.org> on 2019/12/12 10:25:00 UTC

[jira] [Commented] (BEAM-4736) Support reading decimal from BigQuery in Beam SQL

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

Eyad Sibai commented on BEAM-4736:
----------------------------------

We are facing a problem when reading from BigQuery and relying on Beam Schema for the type BigDecimal.

> Support reading decimal from BigQuery in Beam SQL
> -------------------------------------------------
>
>                 Key: BEAM-4736
>                 URL: https://issues.apache.org/jira/browse/BEAM-4736
>             Project: Beam
>          Issue Type: Bug
>          Components: dsl-sql
>            Reporter: Rui Wang
>            Priority: Major
>
> Right now BigQueryIO returns avro format data and Beam SQL parses it and convert to Row. More specifically, decimal value is saved into HeapByteBuffer
>  
> Need to investigate what's the way to convert from byte buffer to BigDecimal.



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