Rohini Palaniswamy created PIG-4482:
---------------------------------------
Summary: Pig pushes matches operator to HCatLoader causing script
to fail
Key: PIG-4482
URL: https://issues.apache.org/jira/browse/PIG-4482
Project: Pig
Issue Type: Bug
Affects Versions: 0.12.0
Reporter: Rohini Palaniswamy
HCatLoader fails with as it cannot understand the matches operator. Even if we
don't push down, specifying regular expression in partition key will be bad for
performance as it will scan the whole table. Need to see if hcat can indeed
support basic wildcard regular expression and translate it to LIKE clause in
database query.
{code}
java.io.IOException: MetaException(message:Error parsing partition filter;
lexer error: null; exception NoViableAltException(11@[]))
at
org.apache.hcatalog.mapreduce.HCatInputFormat.setInput(HCatInputFormat.java:95)
at
org.apache.hcatalog.mapreduce.HCatInputFormat.setInput(HCatInputFormat.java:59)
at org.apache.hcatalog.pig.HCatLoader.setLocation(HCatLoader.java:121)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)