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

JDBC : ResultSet.wasNull always returns false for all datatypes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9.0
    • Client - JDBC
    • None

    Description

      git.commit.id.abbrev=7b4c887

      I attached a parquet file which has nulls in it.

      while (rs.next()) {
          rs.getLong(1);
          if (rs.wasNull()) {
             // DRILL does not come here even when the column value is null
          }
      }
      

      I am not entirely sure if this is a duplicate to DRILL-2136. But here I have seen this happen for all data types.

      Attachments

        1. fewtypes_null.parquet
          2 kB
          Rahul Kumar Challapalli

        Issue Links

          Activity

            People

              rkins Rahul Kumar Challapalli
              rkins Rahul Kumar Challapalli
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: