Skip to content

Commit

Permalink
Fix PerfBenchmarkRunner to skip the tmp dir (#9298)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackie-Jiang authored Aug 30, 2022
1 parent 6da31ab commit d1a71d8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,8 @@ public static void loadTable(PerfBenchmarkDriver driver, String dataDir, String
List<String> invertedIndexColumns, List<String> bloomFilterColumns)
throws Exception {
boolean tableConfigured = false;
File[] segments = new File(dataDir, tableName).listFiles();
// Skip BaseTableDataManager._resourceTmpDir
File[] segments = new File(dataDir, tableName).listFiles((dir, name) -> !name.equals("tmp"));
Preconditions.checkNotNull(segments);
for (File segment : segments) {
if (segment.isDirectory()) {
Expand Down

0 comments on commit d1a71d8

Please sign in to comment.