Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-13838] [SQL] Clear variable code to prevent it to be re-evalua…
…ted in BoundAttribute JIRA: https://issues.apache.org/jira/browse/SPARK-13838 ## What changes were proposed in this pull request? We should also clear the variable code in `BoundReference.genCode` to prevent it to be evaluated twice, as we did in `evaluateVariables`. ## How was this patch tested? Existing tests. Author: Liang-Chi Hsieh <[email protected]> Closes #11674 from viirya/avoid-reevaluate.
- Loading branch information