spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Huaxin Gao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-11660) Spark Thrift GetResultSetMetadata describes a VARCHAR as a STRING
Date Wed, 11 Nov 2015 21:58:11 GMT

    [ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message