You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Olga Natkovich (JIRA)" <ji...@apache.org> on 2011/03/02 21:56:37 UTC

[jira] Updated: (PIG-625) Add global -explain, -illustrate, -describe mode to PIG

     [ https://issues.apache.org/jira/browse/PIG-625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olga Natkovich updated PIG-625:
-------------------------------

    Fix Version/s:     (was: 0.9.0)

explain and illustrate already do what you want - they allow to explain/illustrate the entire script. (Doing this on individual aliases for the entire script does not make sense because it would not correspond to the real execution anyways.

So you can already do this:

pig -e "explain -script myscript.pig" (all versions)
pig -e "illustrate -script myscript" (0.9)

We need clarification for describe: which aliases would you want to be described? All? only the ones that are stored?

> Add global -explain, -illustrate, -describe mode to PIG
> -------------------------------------------------------
>
>                 Key: PIG-625
>                 URL: https://issues.apache.org/jira/browse/PIG-625
>             Project: Pig
>          Issue Type: New Feature
>            Reporter: Yiping Han
>
> Currently PIG has the command EXPLAIN, ILLUSTRATE and DESCRIBE. But user need to manually add/remove these lines in the script when they want to debug or see details of the job. I think there should be a wait to enable these globally. 
> What I suggest is, to add -explain, -illustrate, -describe options to PIG command line. When either of these are presented, all the DUMP and STORE commands in the script are converted into EXPLAIN, ILLUSTRATE, DESCRIBE correspondingly. This makes debugging easier.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira