[ https://issues.apache.org/jira/browse/HIVE-1862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983598#action_12983598 ]
Mac Yang commented on HIVE-1862: -------------------------------- Paul, thanks for the comment. - I will add a check to catch the case where it's the last element in the path - Escaping the value does not work for the "like" operator, for example, the pattern "p.*3" would match values like "p13". However, it would also match value "p1#" since it got truned into "p1%23" - I will leave get_partition_names_ps()/get_partitions_ps() as the way they are in the trunk in the next patch > Revive partition filtering in the Hive MetaStore > ------------------------------------------------ > > Key: HIVE-1862 > URL: https://issues.apache.org/jira/browse/HIVE-1862 > Project: Hive > Issue Type: Bug > Components: Metastore > Affects Versions: 0.7.0 > Reporter: Devaraj Das > Fix For: 0.7.0 > > Attachments: HIVE-1862.1.patch.txt, HIVE-1862.2.patch.txt, > invoke_runqry.sh, qry, qry-sch.Z, runqry > > > HIVE-1853 downgraded the JDO version. This makes the feature of partition > filtering in the metastore unusable. This jira is to keep track of the lost > feature and discussing approaches to bring it back. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.