Skip to content

Commit 9f6a8ab

Browse files
committed
nit: style
1 parent 150a6a5 commit 9f6a8ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/higherOrderFunctions.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ case class TransformKeys(
496496
if (result == null) {
497497
throw new RuntimeException("Cannot use null as map key!")
498498
}
499-
resultKeys.update(i, f.eval(inputRow))
499+
resultKeys.update(i, result)
500500
i += 1
501501
}
502502
new ArrayBasedMapData(resultKeys, map.valueArray())

0 commit comments

Comments
 (0)