Github user viirya commented on a diff in the pull request: https://github.com/apache/spark/pull/21847#discussion_r205236872 --- Diff: external/avro/src/main/scala/org/apache/spark/sql/avro/AvroSerializer.scala --- @@ -41,7 +42,7 @@ class AvroSerializer(rootCatalystType: DataType, rootAvroType: Schema, nullable: } private val converter: Any => Any = { - val actualAvroType = resolveNullableType(rootAvroType, nullable) + val actualAvroType = resolveNullableType(rootAvroType, rootCatalystType, nullable) --- End diff -- Is the change here related to specifying schema on write?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org