Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.4.0, 1.5.0
-
None
-
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
- duplicates
-
SPARK-5918 Spark Thrift server reports metadata for VARCHAR column as STRING in result set schema
- Resolved