[ 
https://issues.apache.org/jira/browse/SPARK-3440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Armbrust updated SPARK-3440:
------------------------------------
    Target Version/s: 1.4.0  (was: 1.3.0)

> HiveServer2 and CLI should retrieve Hive result set schema
> ----------------------------------------------------------
>
>                 Key: SPARK-3440
>                 URL: https://issues.apache.org/jira/browse/SPARK-3440
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.0.2, 1.1.0
>            Reporter: Cheng Lian
>
> When executing Hive native queries/commands with {{HiveContext.runHive}}, 
> Spark SQL only calls {{Driver.getResults}} and returns a {{Seq\[String\]}}. 
> The schema of the result set is not retrieved, and thus not possible to split 
> the row string into proper columns and assign column names to them. For 
> example, currently all {{NativeCommand}} only returns a single column named 
> {{result}}.
> For existing Hive applications that rely on result set schemas, this breaks 
> compatibility.



--
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

Reply via email to