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

Implement JDBC mapping of SQL NULL for ResultSet.getXxx() methods

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.0
    • Component/s: Client - JDBC
    • Labels:
      None

      Description

      Fix AvaticaDrillSqlAccessor to implement mapping of SQL NULL to dummy primitive values (e.g,., returning 0 for ResultSet.getInt(...)).
      Fix SqlAccessors template to implement mapping of SQL NULL to null pointers (e.g., returning null from ResultSet.getString(...).)

        Attachments

        1. DRILL-2463.6.patch.txt
          24 kB
          Daniel Barclay

          Issue Links

            Activity

              People

              • Assignee:
                dsbos Daniel Barclay
                Reporter:
                dsbos Daniel Barclay
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: