xiarixiaoyao commented on a change in pull request #2761:
URL: https://github.com/apache/hudi/pull/2761#discussion_r606622137
##########
File path:
hudi-spark-datasource/hudi-spark/src/main/scala/org/apache/hudi/HoodieFileIndex.scala
##########
@@ -302,6 +302,10 @@ case class HoodieFileIndex(
PartitionRowPath(partitionRow, partitionPath)
}
+ if (partitionRowPaths.isEmpty) {
+ partitionRowPaths = Seq(PartitionRowPath(InternalRow.empty, "")).toBuffer
+ }
+
Review comment:
simple fixed the bug , introduced by HUDI-1591
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]