Skip to content

Commit

Permalink
fixing ingest w/ rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
jortiz16 committed May 26, 2015
1 parent aa3b88a commit 5ceb820
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import edu.washington.escience.myria.io.DataSource;
import edu.washington.escience.myria.io.FileSource;
import edu.washington.escience.myria.operator.TupleSource;
import edu.washington.escience.myria.operator.network.partition.RoundRobinPartitionFunction;
import edu.washington.escience.myria.util.JsonAPIUtils;

/**
Expand Down Expand Up @@ -98,6 +99,7 @@ public void ingestTestDataset() throws Exception {
DataSource relationSource = new FileSource(Paths.get("testdata", "filescan", "simple_two_col_int.txt").toString());
relationKey = RelationKey.of("public", "adhoc", "testIngest");
relationSchema = Schema.of(ImmutableList.of(Type.INT_TYPE, Type.INT_TYPE), ImmutableList.of("x", "y"));
JsonAPIUtils.ingestData("localhost", masterDaemonPort, ingest(relationKey, relationSchema, relationSource, ' '));
JsonAPIUtils.ingestData("localhost", masterDaemonPort, ingest(relationKey, relationSchema, relationSource, ' ',
new RoundRobinPartitionFunction(workerIDs.length)));
}
}

0 comments on commit 5ceb820

Please sign in to comment.