static public Object evaluateExprOnPart(
      Pair<PrimitiveObjectInspector, ExprNodeEvaluator> pair, Object partColValues)
          throws HiveException {
    return pair.getLeft().getPrimitiveJavaObject(pair.getRight().evaluate(partColValues));
  }
Evaluate expression with partition columns

@param expr
@return value returned by the expression
@throws HiveException
ql/src/java/org/apache/hadoop/hive/ql/optimizer/ppr/PartExprEvalUtils.java