[
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: [email protected]
For additional commands, e-mail: [email protected]