[ 
https://issues.apache.org/jira/browse/SPARK-11660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15001200#comment-15001200
 ] 

Huaxin Gao commented on SPARK-11660:
------------------------------------

Seems this is working as designed. Please refer to  jira 5918. 

https://issues.apache.org/jira/browse/SPARK-5918

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to