Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge remote-tracking branch 'upstream/master' into fix_codegen_size
Conflicts:
	sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/codegen/GenerateMutableProjection.scala
  • Loading branch information
viirya committed Jul 16, 2015
commit 7435454ae5aef0819a3c7498e0b4f191a43cb752
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ object GenerateMutableProjection extends CodeGenerator[Seq[Expression], () => Mu
(pCode, pFuncs)
}

val mutableStates = ctx.mutableStates.map { case (javaType, variableName, initialValue) =>
s"private $javaType $variableName = $initialValue;"
}.mkString("\n ")

val code = s"""
public Object generate($exprType[] expr) {
return new SpecificProjection(expr);
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.