}
@Test
public void testWhereRefInSetLiteralIsConvertedToBooleanQuery() throws Exception {
DataType dataType = new SetType(DataTypes.STRING);
Reference foo = createReference("foo", DataTypes.STRING);
WhereClause whereClause = new WhereClause(
createFunction(InOperator.NAME, DataTypes.BOOLEAN,
foo,
Literal.newLiteral(dataType, Sets.newHashSet(new BytesRef("foo"), new BytesRef("bar")))