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

Michael Armbrust resolved SPARK-4780.
-------------------------------------
    Resolution: Won't Fix

This is a limitation of the Hive parser.  I believe that using the Spark SQL 
CLI will do what you desire.

> Support executing multiple statements in sql(...)
> -------------------------------------------------
>
>                 Key: SPARK-4780
>                 URL: https://issues.apache.org/jira/browse/SPARK-4780
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 1.2.0, 1.3.0
>            Reporter: Jianshi Huang
>            Priority: Minor
>
> Just wondering why executing multiple statements in one sql(...) is not 
> supported. And the statement cannot have ";" as well.
> I had to turn my hive script manually into a sequence of queries and this is 
> not very user friendly.
> Please think about supporting this.
> Jianshi



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to