Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
askwang committed Dec 17, 2024
1 parent d728a57 commit 4460003
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ abstract class AnalyzeTableTestBase extends PaimonSparkTestBase {
Assertions.assertEquals(2, statsFileCount(tableLocation, fileIO))

// test expire statistic
spark.sql("CALL sys.expire_snapshots(table => 'test.T', retain_max => 1)")
spark.sql("CALL sys.expire_snapshots(table => 'test.T', retain_max => 1, retain_min => 1)")
Assertions.assertEquals(1, statsFileCount(tableLocation, fileIO))

val orphanStats = new Path(tableLocation, "statistics/stats-orphan-0")
Expand Down

0 comments on commit 4460003

Please sign in to comment.