You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2021/04/03 05:32:36 UTC

[GitHub] [hudi] xiarixiaoyao commented on a change in pull request #2761: [HUDI-1676] Support SQL with spark3

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 ,, introduce 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:
users@infra.apache.org