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

JdbcIo readRows does not handle null numerical values properly

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • 2.32.0
    • None
    • 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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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

              Issue deployment