Skip to content

Commit

Permalink
added partition to simple generator map
Browse files Browse the repository at this point in the history
  • Loading branch information
jruaux committed Jun 12, 2019
1 parent c2a08c3 commit aeae6cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<groupId>com.redislabs</groupId>
<artifactId>riot</artifactId>
<version>0.4.5</version>
<version>0.4.6</version>
<packaging>jar</packaging>
<name>RIOT</name>
<description>Redis Input/Output Tool</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ private long start(long total) {
@Override
protected Map<String, Object> doRead() throws Exception {
Map<String, Object> map = new HashMap<>();
map.put(IndexedPartitioner.PARTITION_KEY, partitionIndex.get());
for (int index = 0; index < fieldCount; index++) {
int fieldIndex = index + 1;
String fieldName = "field" + fieldIndex;
Expand Down

0 comments on commit aeae6cd

Please sign in to comment.