Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-11643

SpannerIO does not support using BigDecimal for Numeric fields

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 2.27.0
    • Fix Version/s: 2.28.0
    • Component/s: io-java-gcp
    • Labels:
      None
    • Flags:
      Important

      Description

      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  (BEAM-10875), but missed adding BigDecimal support to the part of the code where the size of mutated values are calculated.

        Attachments

          Activity

            People

            • Assignee:
              nielm Niel Markwick
              Reporter:
              nielm Niel Markwick
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 20m
                2h 20m