private void prepareVectorFilterOperation(VectorFilterOperator vfo) throws HiveException {
    vfo.initialize(hiveConf, null);

    VectorExpression ve1 = new FilterLongColGreaterLongColumn(0,1);
    VectorExpression ve2 = new FilterLongColEqualDoubleScalar(2, 0);
    VectorExpression ve3 = new FilterExprAndExpr();
    ve3.setChildExpressions(new VectorExpression[] {ve1, ve2});

    vfo.setFilterCondition(ve3);
  }
Test cases for vectorized filter operator.
ql/src/test/org/apache/hadoop/hive/ql/exec/vector/TestVectorFilterOperator.java