[
https://issues.apache.org/jira/browse/PIG-2778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13847008#comment-13847008
]
Rohini Palaniswamy commented on PIG-2778:
-----------------------------------------
No. HCatLoader needs to be fixed to understand "matches" in the expression and
convert it into "LIKE". Actually come to think of it, the LIKE will only take %
and won't work with all regex patterns. i.e .* can be replaced with %, but
other complex java regex patterns would not work.
[~cheolsoo],
Do you remember for what loader or case, you wanted to push the 'matches'
operator?
> Add 'matches' operator to predicate pushdown
> --------------------------------------------
>
> Key: PIG-2778
> URL: https://issues.apache.org/jira/browse/PIG-2778
> Project: Pig
> Issue Type: Bug
> Reporter: Dmitriy V. Ryaboy
> Assignee: Cheolsoo Park
> Fix For: 0.12.0
>
> Attachments: PIG-2778.patch, test_e2e.log, test_unit.log
>
>
> Currently the regex match operation does not get pushed down to LoadMetadata
> (and Expression does not have an enum value for it); it would be quite useful
> to enable this for some optimizations.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)