Skip to content

Commit

Permalink
Update splitFileReferences to use wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
rtjd6554 committed Feb 20, 2025
1 parent e0294e9 commit 43678a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public void shouldReportFilesStatusWhenSomeFilesHaveBeenSplit() throws Exception
FileReference pendingSplit = fileReferenceFactory.partitionFile("B", "pending-split.parquet", 2000);
FileReference oldFile = fileReferenceFactory.partitionFile("A", "split.parquet", 2000L);
stateStore.addFiles(List.of(rootFile, pendingSplit, oldFile));
stateStore.splitFileReferences(List.of(splitFileToChildPartitions(oldFile, "B", "C")));
update(stateStore).splitFileReferences(List.of(splitFileToChildPartitions(oldFile, "B", "C")));

// When / Then
assertThat(verboseReportString(StandardFileStatusReporter::new))
Expand Down

0 comments on commit 43678a3

Please sign in to comment.