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/05/17 02:13:09 UTC

[GitHub] [hudi] pengzhiwei2018 commented on a change in pull request #2926: [HUDI-1879] Support Partition Prune For MergeOnRead Snapshot Table

pengzhiwei2018 commented on a change in pull request #2926:
URL: https://github.com/apache/hudi/pull/2926#discussion_r633182753



##########
File path: hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/hudi/functional/TestMORDataSource.scala
##########
@@ -614,4 +614,66 @@ class TestMORDataSource extends HoodieClientTestBase {
       .load(basePath)
     assertEquals(N + 1, hoodieIncViewDF1.count())
   }
+
+  @ParameterizedTest
+  @ValueSource(booleans = Array(true, false))
+  def testMORPartitionPrune(partitionEncode: Boolean): Unit = {
+    val partitions = Array("2021/03/01", "2021/03/02", "2021/03/03", "2021/03/04", "2021/03/05")

Review comment:
       Yes, the hive style partition is supported.




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