You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Raghu Angadi (JIRA)" <ji...@apache.org> on 2011/07/20 00:22:58 UTC
[jira] [Created] (PIG-2180) -param parser is not consistent with
%default parser
-param parser is not consistent with %default parser
----------------------------------------------------
Key: PIG-2180
URL: https://issues.apache.org/jira/browse/PIG-2180
Project: Pig
Issue Type: Bug
Affects Versions: 0.8.1
Reporter: Raghu Angadi
The following two are different:
# pig -p cond="id == 1" test.pig
# in test.pig: %declare cond 'id == 1'
The latter works as expected. {{pig -p cond="id\ \== 1" test.pig}} is equivalent to (2).
The escaping requirement looks like unintended consequence of the parser used for parsing '-p'.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira