You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Michael Armbrust (JIRA)" <ji...@apache.org> on 2014/11/03 23:29:34 UTC

[jira] [Updated] (SPARK-3440) HiveServer2 and CLI should retrieve Hive result set schema

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