You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2016/07/12 17:09:20 UTC

[jira] [Resolved] (SPARK-16489) Test harness to prevent expression code generation from reusing variable names

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

Reynold Xin resolved SPARK-16489.
---------------------------------
          Resolution: Fixed
       Fix Version/s: 2.0.0
    Target Version/s: 2.0.0  (was: 2.1.0)

> Test harness to prevent expression code generation from reusing variable names
> ------------------------------------------------------------------------------
>
>                 Key: SPARK-16489
>                 URL: https://issues.apache.org/jira/browse/SPARK-16489
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Reynold Xin
>            Assignee: Reynold Xin
>             Fix For: 2.0.0
>
>
> In code generation, it is incorrect for expressions to reuse variable names across different instances of itself. As an example, SPARK-16488 reports a bug in which pmod expression reuses variable name "r".
> This patch updates ExpressionEvalHelper test harness to always project two instances of the same expression, which will help us catch variable reuse problems in expression unit tests.



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