Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-5257

NVARCHAR is treated as "UNKNOWN TYPE" when searching Oracle

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • avatica-1.22.0
    • avatica-1.23.0
    • avatica
    • None

    Description

      When I run the following SQL to query Oracle through Calcite:

      select NVARCHAR_COL from oracleSchema.t1
      

      A RuntimeException is thrown by Avatica(in Method AbstractCursor.createAccessor()):

      unknown type -9(which represents NVARCHAR)
      

      Attachments

        Activity

          People

            VAE ZheHu
            VAE ZheHu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h