Skip to content

Commit

Permalink
Test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
caicancai committed Dec 20, 2024
1 parent 7c22892 commit ce2e5c5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ static void initializeArrowState(@TempDir Path sharedTempDir)
arrowDataDirectory = arrowFilesDirectory.toFile();

File dataLocationFile = arrowFilesDirectory.resolve("arrowdatatype.arrow").toFile();
ArrowDataTest arrowDataGenerator = new ArrowDataTest();
ArrowData arrowDataGenerator = new ArrowData();
arrowDataGenerator.writeArrowDataType(dataLocationFile);

arrow = ImmutableMap.of("model", modelFileTarget.toAbsolutePath().toString());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ static void initializeArrowState(@TempDir Path sharedTempDir)
arrowDataDirectory = arrowFilesDirectory.toFile();

File dataLocationFile = arrowFilesDirectory.resolve("arrowdata.arrow").toFile();
ArrowDataTest arrowDataGenerator = new ArrowDataTest();
ArrowData arrowDataGenerator = new ArrowData();
arrowDataGenerator.writeArrowData(dataLocationFile);
arrowDataGenerator.writeScottEmpData(arrowFilesDirectory);

File datatypeLocationFile = arrowFilesDirectory.resolve("arrowdatatype.arrow").toFile();
ArrowDataTest arrowtypeDataGenerator = new ArrowDataTest();
ArrowData arrowtypeDataGenerator = new ArrowData();
arrowtypeDataGenerator.writeArrowDataType(datatypeLocationFile);

arrow = ImmutableMap.of("model", modelFileTarget.toAbsolutePath().toString());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
/**
* Class that can be used to generate Arrow sample data into a data directory.
*/
public class ArrowDataTest {
public class ArrowData {

private final int batchSize;
private final int entries;
Expand All @@ -77,7 +77,7 @@ public class ArrowDataTest {
private boolean booleanValue;
private BigDecimal decimalValue;

public ArrowDataTest() {
public ArrowData() {
this.batchSize = 20;
this.entries = 50;
this.tinyIntValue = 0;
Expand Down

0 comments on commit ce2e5c5

Please sign in to comment.