Skip to content

Commit

Permalink
[test] Fix bucket in micro benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
JingsongLi committed Feb 28, 2024
1 parent 508411d commit eef403b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ private void innerTest(Map<String, Table> tables) {
}

private Table prepareData(Options options, String tableName) throws Exception {
options.set(CoreOptions.BUCKET, 1);
Table table = createTable(options, tableName);
StreamWriteBuilder writeBuilder = table.newStreamWriteBuilder();
StreamTableWrite write = writeBuilder.newWrite();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ public void testOrc() throws Exception {
}

public void innerTest(String name, Options options) throws Exception {
options.set(CoreOptions.BUCKET, 1);
StreamWriteBuilder writeBuilder = createTable(options, "T").newStreamWriteBuilder();
StreamTableWrite write = writeBuilder.newWrite();
StreamTableCommit commit = writeBuilder.newCommit();
Expand Down

0 comments on commit eef403b

Please sign in to comment.