Skip to content

Commit

Permalink
group dataset files
Browse files Browse the repository at this point in the history
  • Loading branch information
idegtiarenko committed Dec 16, 2024
1 parent c1569b2 commit c0e6457
Show file tree
Hide file tree
Showing 36 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ private static void load(RestClient client, TestsDataset dataset, Logger logger,
if (mapping == null) {
throw new IllegalArgumentException("Cannot find resource " + mappingName);
}
final String dataName = "/" + dataset.dataFileName;
final String dataName = "/data/" + dataset.dataFileName;
URL data = CsvTestsDataLoader.class.getResource(dataName);
if (data == null) {
throw new IllegalArgumentException("Cannot find resource " + dataName);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ private static CsvTestsDataLoader.TestsDataset testsDataset(LogicalPlan parsed)
}

private static TestPhysicalOperationProviders testOperationProviders(CsvTestsDataLoader.TestsDataset dataset) throws Exception {
var testData = loadPageFromCsv(CsvTests.class.getResource("/" + dataset.dataFileName()), dataset.typeMapping());
var testData = loadPageFromCsv(CsvTests.class.getResource("/data/" + dataset.dataFileName()), dataset.typeMapping());
return new TestPhysicalOperationProviders(testData.v1(), testData.v2());
}

Expand Down

0 comments on commit c0e6457

Please sign in to comment.