pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu Angadi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PIG-2180) -param parser is not consistent with %default parser
Date Tue, 19 Jul 2011 22:22:58 GMT
-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

        

Mime
View raw message