Skip to content

Commit 296b5af

Browse files
committed
addressed review comments
1 parent c925666 commit 296b5af

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/JavaTypeInference.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ object JavaTypeInference {
403403
serializerFor(_, keyType),
404404
ObjectType(valueType.getRawType),
405405
serializerFor(_, valueType),
406-
true
406+
valueNullable = true
407407
)
408408

409409
case other =>

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/ScalaReflection.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ object ScalaReflection extends ScalaReflection {
499499
serializerFor(_, keyType, keyPath),
500500
dataTypeFor(valueType),
501501
serializerFor(_, valueType, valuePath),
502-
!valueType.typeSymbol.asClass.isPrimitive)
502+
valueNullable = !valueType.typeSymbol.asClass.isPrimitive)
503503

504504
case t if t <:< localTypeOf[String] =>
505505
StaticInvoke(

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ case class StaticInvoke(
172172
* @param propagateNull When true, and any of the arguments is null, null will be returned instead
173173
* of calling the function.
174174
* @param returnNullable When false, indicating the invoked method will always return
175-
* non-null value.
175+
* non-null value.
176176
*/
177177
case class Invoke(
178178
targetObject: Expression,

0 commit comments

Comments
 (0)