spark-instrumented-optimizer/sql/catalyst/src/main
Sameer Agarwal 4eae1dbd7c [SPARK-14718][SQL] Avoid mutating ExprCode in doGenCode
## What changes were proposed in this pull request?

The `doGenCode` method currently takes in an `ExprCode`, mutates it and returns the java code to evaluate the given expression. It should instead just return a new `ExprCode` to avoid passing around mutable objects during code generation.

## How was this patch tested?

Existing Tests

Author: Sameer Agarwal <sameer@databricks.com>

Closes #12483 from sameeragarwal/new-exprcode-2.
2016-04-18 20:28:22 -07:00
..
antlr4/org/apache/spark/sql/catalyst/parser [SPARK-14592][SQL] Native support for CREATE TABLE LIKE DDL command 2016-04-14 11:08:08 -07:00
java/org/apache/spark/sql [SPARK-14426][SQL] Merge PerserUtils and ParseUtils 2016-04-06 10:57:46 -07:00
scala/org/apache/spark/sql [SPARK-14718][SQL] Avoid mutating ExprCode in doGenCode 2016-04-18 20:28:22 -07:00