@Override
  public void evaluate(VectorizedRowBatch batch) throws HiveException {
    if (childExpressions != null) {
      super.evaluateChildren(batch);
    }

    LongColumnVector inputColVector = (LongColumnVector) batch.cols[inputColumnNum[0]];

    super.doEvaluate(batch, new LongColumnVector(inputColVector.vector.length).fillWithNulls(),
        inputColVector);
  }
This class performs constant AND column expression where the constant is null
ql/src/java/org/apache/hadoop/hive/ql/exec/vector/expressions/ScalarNullAndCol.java