Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-2136

NullableIntAccessor's isNull(...) never returns true

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.9.0
    • Execution - Data Types
    • None

    Description

      NullableIntVector's method isNull(...) never returns true. (It's hard-coded (well, generated) to return false.)

      That seems to mean that a client can't call IsNull(...) to branch to avoid calling getInt(...) for a null value and getting an exception (AssertionError).

      Attachments

        1. DRILL-2136.1.patch.txt
          0.9 kB
          Daniel Barclay
        2. DRILL-2136.2.patch.txt
          0.9 kB
          Daniel Barclay

        Issue Links

          Activity

            People

              dsbos Daniel Barclay
              dsbos Daniel Barclay
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: