spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hamstra (JIRA)" <>
Subject [jira] [Commented] (SPARK-21619) Fail the execution of canonicalized plans explicitly
Date Thu, 03 Aug 2017 21:18:00 GMT


Mark Hamstra commented on SPARK-21619:

Ok, but my point is that if plans are to be canonicalized for some reasons, maybe they should
also be canonicalized before execution. It seems odd both to execute plans that are not in
a canonical form and to not be able to execute plans that are in a canonical form. That view
makes failing the execution of canonical plans look more like a workaround/hack (maybe needed
in the short term) than a solution to a deeper issue. 

> Fail the execution of canonicalized plans explicitly
> ----------------------------------------------------
>                 Key: SPARK-21619
>                 URL:
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.2.0
>            Reporter: Reynold Xin
>            Assignee: Reynold Xin
> Canonicalized plans are not supposed to be executed. I ran into a case in which there's
some code that accidentally calls execute on a canonicalized plan. This patch throws a more
explicit exception when that happens.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message