@Test
  public void testBooleanValuedLongIn() throws HiveException {
    VectorizedRowBatch batch = getBatch();
    long[] a = new long[2];
    a[0] = 20;
    a[1] = 1000;
    batch.size = 2;
    VectorExpression expr = (new LongColumnInList(0, 1));
    ((LongColumnInList) expr).setInListValues(a);
    expr.evaluate(batch);
    LongColumnVector out = (LongColumnVector) batch.cols[1];
    Assert.assertEquals(0, out.vector[0]);
    Assert.assertEquals(1, out.vector[1]);
  }
Test vectorized expression handling for the case where there is a scalar on
the left and a column vector on the right.
ql/src/test/org/apache/hadoop/hive/ql/exec/vector/expressions/TestVectorScalarColArithmetic.java