@Test
public void testConvertESDeleteByQueryNode() throws Exception {
FunctionImplementation eqImpl = functions.get(new FunctionIdent(EqOperator.NAME, typeX2(DataTypes.STRING)));
Function whereClause = new Function(eqImpl.info(), Arrays.<Symbol>asList(name_ref, Literal.newLiteral("Marvin")));
ESDeleteByQueryNode deleteByQueryNode = new ESDeleteByQueryNode(
new String[]{characters.name()},
new WhereClause(whereClause));
BytesReference reference = generator.convert(deleteByQueryNode);
String actual = reference.toUtf8();