I am not able to assign a value with spaces to param on command line. $ pig -p cond='x == 1' test.pig results in command line parser error. other attempts like 'pig -p cond='"x == 1"' test.pig' didn't help.
Is there a work around? otherwise I will file a jira and look into a fix. thanks, Raghu.