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

Fix NVARCHAR to VARCHAR in to-JDBC-types mapping

    XMLWordPrintableJSON

Details

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

    Description

      Fixed mapping from TypeProtos.MinorType.VARCHAR to java.sql.Types.NVARCHAR
      to be to java.sql.Types.VARCHAR.

      (Old code caused getColumns(...) to report type NVARCHAR when VARCHAR was expected.)

      Attachments

        1. DRILL-2466.1.patch.txt
          2 kB
          Daniel Barclay
        2. DRILL-2466.2.patch.txt
          2 kB
          Daniel Barclay
        3. DRILL-2466.3.patch.txt
          3 kB
          Daniel Barclay

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: