Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-11660

Spark Thrift GetResultSetMetadata describes a VARCHAR as a STRING

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.4.0, 1.5.0
    • None
    • SQL
    • None

    Description

      In the Spark SQL thrift interface the GetResultSetMetadata reply packet that describes the result set metadata, reports a column that is defined as a VARCHAR in the database, as Native type of STRING. Data still returns correctly in the thrift string type but ODBC/JDBC is not able to correctly describe the data type being return or its defined maximum length.

      FYI Hive returns it correctly.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              csands@progress.com Chip Sands
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: