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

JdbcIo readRows does not handle null numerical values properly

Details

    • Bug
    • Status: Triage Needed
    • P2
    • Resolution: Fixed
    • 2.32.0
    • Missing
    • io-java-jdbc
    • None

    Description

      Numerical values that are SQL NULL in the database are converted to 0 when read by `readRows`.  This appears to be caused by SchemaUtil.java not checking `ResultSet::wasNull` at line 253 in version 2.32.0.  

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              chrismgray Chris Gray
              Votes:
              0 Vote for this issue
              Watchers:
              1 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
                  2h

                  Slack

                    Issue deployment