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

getString() for NULL value fails with "AssertionError: Tried to get null value."

    XMLWordPrintableJSON

Details

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

    Description

      Calling ResultSet.getString(...) on a NULL value fails with "AssertionError: Tried to get null value".

      Per http://docs.oracle.com/javase/7/docs/api/java/sql/ResultSet.html#getString%28int%29, it should return null, not throw an exception.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: