spaces-X commented on code in PR #12188:
URL: https://github.com/apache/doris/pull/12188#discussion_r958318305
##########
fe/spark-dpp/src/main/java/org/apache/doris/load/loadv2/dpp/SparkDpp.java:
##########
@@ -266,7 +266,7 @@ private void
writeRepartitionAndSortedRDDToParquet(JavaPairRDD<List<Object>, Obj
}
lastBucketKey = curBucketKey;
}
- InternalRow internalRow =
encoder.toRow(rowWithoutBucketKey);
+ InternalRow internalRow =
encoder.createDeserializer().apply(rowWithoutBucketKey);
Review Comment:
```suggestion
InternalRow internalRow =
encoder.createSerializer().apply(rowWithoutBucketKey);
```
--
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]