Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 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
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.
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB