yihua commented on code in PR #11130:
URL: https://github.com/apache/hudi/pull/11130#discussion_r1586992547
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/ColumnStatsIndexSupport.scala:
##########
@@ -308,7 +309,7 @@ class ColumnStatsIndexSupport(spark: SparkSession,
}
}
- Row(coalescedRowValuesSeq:_*)
+ Row(coalescedRowValuesSeq.toSeq: _*)
Review Comment:
`coalescedRowValuesSeq` is a `mutable.Seq`. `toSeq` is a no-op on and
before Scala 2.12 and converts the mutable `Seq` to the immutable `Seq`
required by Spark
(https://docs.scala-lang.org/overviews/core/collections-migration-213.html#option-1-migrate-back-to-scalacollectionseq).
--
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]