public static void addExprToStringBuffer(ExprNodeDesc expr, Appendable sb,
          boolean userLevelExplain, boolean sortExpressions) {
    try {
      sb.append(expr.getExprString(sortExpressions));
      if (!userLevelExplain) {
        sb.append(" (type: ");
        sb.append(expr.getTypeString());
        sb.append(")");
      }
    } catch (IOException e) {
      throw new RuntimeException(e);
    }
  }
Remove prefix from "Path -&gt; Alias"
This is required for testing.
In order to verify that path is right, we need to display it in expected test result.
But, mask pattern masks path with some patterns.
So, we need to remove prefix from path which triggers mask pattern.
@param origiKey
@return
ql/src/java/org/apache/hadoop/hive/ql/plan/PlanUtils.java