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

GenericAccessor doesn't support isNull

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: Client - JDBC
    • Labels:
      None
    • Environment:

      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.4
          5 kB
          Matt Burgess
        2. DRILL-3199.patch.3
          5 kB
          Matt Burgess
        3. DRILL-3199.patch.2
          9 kB
          Matt Burgess
        4. DRILL-3199.patch.1
          5 kB
          Matt Burgess

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: