Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-7805

ResultSetRecordSet Breaks if First Row Decimal Value is NULL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.12.0
    • 1.13.0, 1.12.1
    • Core Framework
    • None

    Description

      Changes in NIFI-7369 caused a breaking change in how Decimal values are converted into schemas in ResultSetRecordSet.

      The code tries to read the scale and precision values, but reads them from the value in the first row returned, rather than from the ResultSetMetadata.  If the value in the first row is NULL, than it's scale and precision cannot be read and schema creation fails.

      Attachments

        Issue Links

          Activity

            People

              pwicks Peter Wicks
              pwicks Peter Wicks
              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 - 40m
                  40m