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

Dongjoon Hyun updated SPARK-16370:
----------------------------------
    Description: 
Currently, some queries having side effects like `Command`, `InsertIntoTable`, 
and `CreateTableUsingAsSelect` are executed eagerly.

However, it matches `UNION` queries some cases. This issue prevents `UNION` 
eager execution except `MULTI-INSERT` syntax.

  was:
Currently, some queries having side effects like `Command`, `InsertIntoTable`, 
and `CreateTableUsingAsSelect` are executed eagerly.

However, for `UNION` queries, they are executed only in `UNION ALL` queries 
with all children having side effects.

This issue executes them eagerly for both `UNION` and `UNION ALL` queries if 
one of their children has side effects.

        Summary: Union queries should not be executed eagerly  (was: Union 
queries with side effects should be executed eagerly)

> Union queries should not be executed eagerly
> --------------------------------------------
>
>                 Key: SPARK-16370
>                 URL: https://issues.apache.org/jira/browse/SPARK-16370
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Dongjoon Hyun
>
> Currently, some queries having side effects like `Command`, 
> `InsertIntoTable`, and `CreateTableUsingAsSelect` are executed eagerly.
> However, it matches `UNION` queries some cases. This issue prevents `UNION` 
> eager execution except `MULTI-INSERT` syntax.



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