PredicateLeaf.Type.STRING, "x", "1970-01-16", null);
assertEquals(TruthValue.YES_NO,
RecordReaderImpl.evaluatePredicate(createDateStats(10, 100), pred));
pred = TestSearchArgumentImpl.createPredicateLeaf(PredicateLeaf.Operator.NULL_SAFE_EQUALS,
PredicateLeaf.Type.DATE, "x", new DateWritable(15), null);
assertEquals(TruthValue.YES_NO,
RecordReaderImpl.evaluatePredicate(createDateStats(10, 100), pred));
pred = TestSearchArgumentImpl.createPredicateLeaf(PredicateLeaf.Operator.NULL_SAFE_EQUALS,
PredicateLeaf.Type.DATE, "x", new DateWritable(150), null);
assertEquals(TruthValue.NO,
RecordReaderImpl.evaluatePredicate(createDateStats(10, 100), pred));
pred = TestSearchArgumentImpl.createPredicateLeaf(PredicateLeaf.Operator.NULL_SAFE_EQUALS,
PredicateLeaf.Type.DECIMAL, "x", HiveDecimal.create(15), null);