the-other-tim-brown commented on code in PR #13593:
URL: https://github.com/apache/hudi/pull/13593#discussion_r2224109944
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/HoodieFileIndex.scala:
##########
@@ -189,14 +196,11 @@ case class HoodieFileIndex(spark: SparkSession,
val files =
logPathInfoStream.collect(Collectors.toList[StoragePathInfo]).asScala
baseFileStatusOpt.foreach(f => files.append(f))
val allCandidateFiles = files.map(fileInfo => new
FileStatus(fileInfo.getLength, fileInfo.isDirectory, 0, fileInfo.getBlockSize,
- fileInfo.getModificationTime, new
Path(fileInfo.getPath.toUri))).toSeq
- sparkAdapter.getSparkPartitionedFileUtils.newPartitionDirectory(
- InternalRow.fromSeq(partitionOpt.get.values), allCandidateFiles)
+ fileInfo.getModificationTime, new
Path(fileInfo.getPath.toUri))).toSeq
+
sparkAdapter.getSparkPartitionedFileUtils.newPartitionDirectory(partitionValues,
allCandidateFiles)
}
}
- hasPushedDownPartitionPredicates = true
Review Comment:
Was this a bug previously?
--
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]