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

Switch to Threaded View
Pig, mail # user - run pig explain command over the entire script in java


Copy link to this message
-
run pig explain command over the entire script in java
Petar Jovanovic 2013-02-18, 16:18
Hi,
I am trying to find the way to run the explain command over the entire
pig script in java. I was using PigServer but it offers only to do
explain over the single query (alias) not the entire script. Is there a
way to do something like:
$ pig -x local -e 'explain -script Temp1/TPC_test.pig -out explain-out9.txt'
but from my Java code?

Thanks.