[ https://issues.apache.org/jira/browse/HIVE-22900?focusedWorklogId=394088&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-394088 ]
ASF GitHub Bot logged work on HIVE-22900: ----------------------------------------- Author: ASF GitHub Bot Created on: 27/Feb/20 10:36 Start Date: 27/Feb/20 10:36 Worklog Time Spent: 10m Work Description: shameersss1 commented on pull request #916: HIVE-22900 : Predicate Push Down Of Like Filter While Fetching Partition Data From MetaStore URL: https://github.com/apache/hive/pull/916#discussion_r385043264 ########## File path: standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java ########## @@ -1222,6 +1217,10 @@ public void visit(LeafNode node) throws MetaException { params.add(nodeValue); } + if (node.operator == Operator.LIKE) { + nodeValue0 = nodeValue0 + " ESCAPE '\\' "; Review comment: Added. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 394088) Time Spent: 0.5h (was: 20m) > Predicate Push Down Of Like Filter While Fetching Partition Data From > MetaStore > ------------------------------------------------------------------------------- > > Key: HIVE-22900 > URL: https://issues.apache.org/jira/browse/HIVE-22900 > Project: Hive > Issue Type: New Feature > Reporter: Syed Shameerur Rahman > Assignee: Syed Shameerur Rahman > Priority: Major > Labels: pull-request-available > Fix For: 4.0.0 > > Attachments: HIVE-22900.01.patch, HIVE-22900.02.patch > > Time Spent: 0.5h > Remaining Estimate: 0h > > Predicate Push Down is disabled for like filter while fetching partition data > from metastore. The following patch introduces PPD for like filters while > fetching partition data from the metastore in case of DIRECT-SQL and JDO. The > patch also covers all the test cases mentioned in HIVE-5134 because of which > Predicate Push Down for like filter was disabled. -- This message was sent by Atlassian Jira (v8.3.4#803005)