plan.expectsAffectedRows(true);
Job job = executor.newJob(plan);
assertThat(job.tasks().get(0), instanceOf(ESUpdateByIdTask.class));
List<ListenableFuture<TaskResult>> result = executor.execute(job);
TaskResult taskResult = result.get(0).get();
Object[][] rows = taskResult.rows();
assertThat(rows.length, is(0));
assertThat(taskResult.rowCount(), is(1L));
// verify update
ImmutableList<Symbol> outputs = ImmutableList.<Symbol>of(id_ref, name_ref);
ESGetNode getNode = newGetNode("characters", outputs, "1");
plan = new Plan();