Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig, mail # user - space in param values in command line


Copy link to this message
-
space in param values in command line
Raghu Angadi 2011-07-11, 21:09
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.