You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Cheng Lian (JIRA)" <ji...@apache.org> on 2014/09/08 20:49:28 UTC

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

Cheng Lian created SPARK-3440:
---------------------------------

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