public void testBuilderComplexTypes() throws Exception {
SearchArgument sarg =
SearchArgument.FACTORY.newBuilder()
.startAnd()
.lessThan("x", new DateWritable(10))
.lessThanEquals("y", new HiveChar("hi", 10))
.equals("z", HiveDecimal.create("1.0"))
.end()
.build();
assertEquals("leaf-0 = (LESS_THAN x 1970-01-11)\n" +
"leaf-1 = (LESS_THAN_EQUALS y hi)\n" +