You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Niel Markwick (Jira)" <ji...@apache.org> on 2021/01/15 11:46:00 UTC

[jira] [Commented] (BEAM-11643) SpannerIO does not support using BigDecimal for Numeric fields

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

Niel Markwick commented on BEAM-11643:
--------------------------------------

TODO: Add BigDecimal support to org.apache.beam.sdk.io.gcp.spanner.MutationSizeEstimator

> SpannerIO does not support using BigDecimal for Numeric fields
> --------------------------------------------------------------
>
>                 Key: BEAM-11643
>                 URL: https://issues.apache.org/jira/browse/BEAM-11643
>             Project: Beam
>          Issue Type: Bug
>          Components: io-java-gcp
>    Affects Versions: 2.27.0
>            Reporter: Niel Markwick
>            Assignee: Niel Markwick
>            Priority: P2
>             Fix For: 2.28.0
>
>
> Since NUMERIC types were added to Spanner, it has been possible to assign a Java BigDecimal to a column in a Spanner mutation.
> The feature to support NUMERIC in BEAM was added in [PR#12818|https://github.com/apache/beam/pull/12818]  (BEAM-10875), but missed adding BigDecimal support to the part of the code where the size of mutated values are calculated.



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