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

GenericAccessor doesn't support isNull

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • Client - JDBC
    • None
    • I found this problem when calling the driver's wasNull() method on a field that represented a nested JSON object (one level below the root object), using the 'dfs' storage plugin and pointing at my local filesystem.

    Description

      GenericAccessor throws an UnsupportedOperationException when isNull() is called. However for other methods it delegates to its ValueVector's accessor. I think it should do the same for isNull().

      Attachments

        1. DRILL-3199.patch.1
          5 kB
          Matt Burgess
        2. DRILL-3199.patch.2
          9 kB
          Matt Burgess
        3. DRILL-3199.patch.3
          5 kB
          Matt Burgess
        4. DRILL-3199.patch.4
          5 kB
          Matt Burgess

        Activity

          People

            parthc Parth Chandra
            mattyb149 Matt Burgess
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: