mposdev21 commented on code in PR #38922: URL: https://github.com/apache/spark/pull/38922#discussion_r1048002705
########## connector/protobuf/src/main/scala/org/apache/spark/sql/protobuf/ProtobufDeserializer.scala: ########## @@ -235,7 +237,7 @@ private[sql] class ProtobufDeserializer( writeRecord(new RowUpdater(row), value.asInstanceOf[DynamicMessage]) updater.set(ordinal, row) - case (MESSAGE, ArrayType(st: StructType, containsNull)) => + case (MESSAGE, ArrayType(st: DataType, containsNull)) => Review Comment: It's not clear as to why we need to make this change. It does not look like OneOf related. Could you clarify why this would be needed ? Does it cover any specific case ? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org