Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Aitozi committed Apr 18, 2024
1 parent d416d42 commit b0ad69a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,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 b0ad69a

Please sign in to comment.