Skip to content
Snippets Groups Projects
Commit 85594e80 authored by Deepa Kumari's avatar Deepa Kumari
Browse files

Fixed the creation of output list for get partition

parent 6ab6c9af
No related branches found
No related tags found
1 merge request!337Fixed the creation of output list for get partition
......@@ -119,10 +119,7 @@ public class PartitionTableStore {
List<TableEntity> out = new ArrayList<>();
Iterable<TableEntity> results = (Iterable<TableEntity>)
this.dataTableStore.queryByKey(PARTITION_KEY, partitionId);
for (TableEntity tableEntity : results) {
TableEntity entity = new TableEntity(tableEntity.getPartitionKey(), tableEntity.getRowKey());
out.add(entity);
}
results.forEach(out::add);
return out;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment