wombatu-kun commented on code in PR #12772:
URL: https://github.com/apache/hudi/pull/12772#discussion_r2103822158
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/PartitionDirectoryConverter.scala:
##########
@@ -53,7 +53,7 @@ object PartitionDirectoryConverter extends
SparkAdapterSupport {
val c = fileSlices.filter(f => f.hasLogFiles ||
f.hasBootstrapBase).foldLeft(Map[String, FileSlice]()) { (m, f) => m +
(f.getFileId -> f) }
if (c.nonEmpty) {
sparkAdapter.getSparkPartitionedFileUtils.newPartitionDirectory(
- new
HoodiePartitionFileSliceMapping(InternalRow.fromSeq(partitionOpt.get.values),
c), delegateFiles)
+
sparkAdapter.createHoodiePartitionFileSliceMapping(InternalRow.fromSeq(partitionOpt.get.values),
c), delegateFiles)
Review Comment:
Explanation is here
https://github.com/apache/hudi/pull/12772#discussion_r2103820263
--
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]