Skip to content
Snippets Groups Projects
Commit e449f754 authored by Herman van Hovell's avatar Herman van Hovell
Browse files

[SPARK-18118][SQL] fix a compilation error due to nested JavaBeans


Remove this reference.

(cherry picked from commit 70dfdcbb)
Signed-off-by: default avatarHerman van Hovell <hvanhovell@databricks.com>
parent 712bd5ab
No related branches found
No related tags found
No related merge requests found
......@@ -905,7 +905,7 @@ case class InitializeJavaBean(beanInstance: Expression, setters: Map[String, Exp
val fieldGen = fieldValue.genCode(ctx)
s"""
${fieldGen.code}
this.${javaBeanInstance}.$setterMethod(${fieldGen.value});
${javaBeanInstance}.$setterMethod(${fieldGen.value});
"""
}
val initializeCode = ctx.splitExpressions(ctx.INPUT_ROW, initialize.toSeq)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment