viirya commented on a change in pull request #33108:
URL: https://github.com/apache/spark/pull/33108#discussion_r660164517
##########
File path: sql/core/src/main/scala/org/apache/spark/sql/execution/Columnar.scala
##########
@@ -264,12 +264,12 @@ private object RowToColumnConverter {
case DoubleType => DoubleConverter
case StringType => StringConverter
case CalendarIntervalType => CalendarConverter
- case at: ArrayType => new
ArrayConverter(getConverterForType(at.elementType, nullable))
+ case at: ArrayType => ArrayConverter(getConverterForType(at.elementType,
at.containsNull))
Review comment:
Shouldn't it be `nullable || at.containsNull`?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]