private ExpressionTree or(ExpressionTree... arg) {
    return new ExpressionTree(ExpressionTree.Operator.OR, arg);
  }
These test the SARG implementation.
The xml files were generated by setting hive.optimize.index.filter
to true and using a custom record reader that prints out the value of
hive.io.filter.expr.serialized in createRecordReader. This should be
replaced by generating the AST using the API and passing that in.
<p/>
In each case, the corresponding part of the where clause is in the
comment above the blob.
ql/src/test/org/apache/hadoop/hive/ql/io/sarg/TestSearchArgumentImpl.java