Vineet Garg created HIVE-23145: ---------------------------------- Summary: get_partitions_with_specs fails if filter expression is not parsable Key: HIVE-23145 URL: https://issues.apache.org/jira/browse/HIVE-23145 Project: Hive Issue Type: Sub-task Components: Metastore Affects Versions: 4.0.0 Reporter: Vineet Garg
Expression is not parsable in most of the cases. Current API *get_partitions_by_expr* anticipates this and provide a fallback mechanism. This basically deserialize the provided expression, fetches all partition names for the table, prune partition names using the expression and then uses the names to fetch required partition data. Note that this expect serialized expression instead of string. This need to be done for both Direct SQL and JDO path. -- This message was sent by Atlassian Jira (v8.3.4#803005)