use of org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterLongColEqualLongScalar in project hive by apache.
the class TestVectorFilterExpressions method testFilterLongColEqualLongScalar.
@Test
public void testFilterLongColEqualLongScalar() {
VectorizedRowBatch vrg = VectorizedRowGroupGenUtil.getVectorizedRowBatch(1024, 1, 23);
FilterLongColEqualLongScalar expr = new FilterLongColEqualLongScalar(0, 46);
expr.evaluate(vrg);
assertEquals(1, vrg.size);
assertEquals(1, vrg.selected[0]);
}
Aggregations