File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/codegen Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -880,7 +880,7 @@ class CodegenContext {
880880 functions.foreach(f => {
881881 val key = (f.innerClassName.get, f.innerClassInstance.get)
882882 val value = f.functionName +: innerClassToFunctions.getOrElse(key, Seq .empty[String ])
883- innerClassToFunctions.update (key, value)
883+ innerClassToFunctions.put (key, value)
884884 })
885885
886886 val argDefinitionString = arguments.map { case (t, name) => s " $t $name" }.mkString(" , " )
@@ -904,8 +904,7 @@ class CodegenContext {
904904 // ...
905905 // }
906906 // }
907- val body = foldFunctions(orderedFunctions.map(name =>
908- s " $name( $argInvocationString) " ))
907+ val body = foldFunctions(orderedFunctions.map(name => s " $name( $argInvocationString) " ))
909908 val code = s """
910909 |private $returnType $funcName( $argDefinitionString) {
911910 | ${makeSplitFunction(body)}
You can’t perform that action at this time.
0 commit comments