public static ExpressionTree parseFilterTree(String filter) throws MetaException {
    return PartFilterParser.parseFilter(filter);
  }
Makes expression tree out of expr.
@param filter Filter.
@return Expression tree. Null if there was an error.
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/PartFilterExprUtil.java