[
https://issues.apache.org/jira/browse/SPARK-3440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Armbrust updated SPARK-3440:
------------------------------------
Shepherd: (was: Michael Armbrust)
> 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: [email protected]
For additional commands, e-mail: [email protected]