Skip to content

Commit e6945e8

Browse files
committed
Add JIRA number to comment
1 parent fffe72b commit e6945e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetRowConverter.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ private[parquet] class ParquetRowConverter(
319319

320320
case t: StructType =>
321321
val wrappedUpdater = {
322+
// SPARK-30338: avoid unnecessary InternalRow copying for nested structs:
322323
if (updater.isInstanceOf[RowUpdater]) {
323324
// `updater` is a RowUpdater, implying that the parent container is a struct.
324325
// We do NOT need to perform defensive copying here because either:

0 commit comments

Comments
 (0)