leesf commented on a change in pull request #2761:
URL: https://github.com/apache/hudi/pull/2761#discussion_r611015757



##########
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:
       @xiarixiaoyao can we raise another PR to fix the bug?




-- 
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]


Reply via email to