Github user kiszk commented on a diff in the pull request: https://github.com/apache/spark/pull/20637#discussion_r212683385 --- Diff: sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/ExpressionEvalHelper.scala --- @@ -223,8 +223,9 @@ trait ExpressionEvalHelper extends GeneratorDrivenPropertyChecks with PlanTestBa } } else { val lit = InternalRow(expected, expected) + val dtAsNullable = expression.dataType.asNullable --- End diff -- Without this change (`dataType.asNullable`), `MapZipWith` test case would not work correctly. `NullPointerException` occurs when `UnsafeArrayData` for `expected` is created.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org