[ 
https://issues.apache.org/jira/browse/PIG-625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12706998#action_12706998
 ] 

David Ciemiewicz commented on PIG-625:
--------------------------------------

I was just about to file a request similar to this and have been threatening to 
do so for quite some time.

I live and die by littering my Pig scripts with DESCRIBE statements.  One of 
the most common wastes of my time is finding out I have a typo in the alias 
name in DESCRIBE statements as I do code refactoring and copy and paste coding 
between scripts.

If I simply had the ability to add -describe on my command lines, that would 
make my life so much easier.  And it would make my pig scripts so much cleaner 
because they wouldn't have the DESCRIBE litter.


> 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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to