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

[SPARK-18118][SQL] fix a compilation error due to nested JavaBeans\nRemove this reference.

parent f075cd9c
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