[ https://issues.apache.org/jira/browse/SPARK-11660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Huaxin Gao updated SPARK-11660: ------------------------------- Comment: was deleted (was: I would like to work on this issue. ) > Spark Thrift GetResultSetMetadata describes a VARCHAR as a STRING > ----------------------------------------------------------------- > > Key: SPARK-11660 > URL: https://issues.apache.org/jira/browse/SPARK-11660 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 1.4.0, 1.5.0 > Reporter: Chip Sands > > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org