You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2010/01/27 21:33:34 UTC

[jira] Resolved: (PIG-726) Stop printing scope as part of Operator.toString()

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

Thejas M Nair resolved PIG-726.
-------------------------------

    Resolution: Fixed

Scope is no longer verbose like before, after Gunther's changes as mentioned above. No further changes are required.

> Stop printing scope as part of Operator.toString()
> --------------------------------------------------
>
>                 Key: PIG-726
>                 URL: https://issues.apache.org/jira/browse/PIG-726
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Thejas M Nair
>            Assignee: Gunther Hagleitner
>
> When an operator is printed in pig, it prints a string with the user name and date at which the grunt shell was started. This information is not useful and makes the output very verbose.
> For example, a line in explain is like -
> ForEach tejas-Thu Mar 19 11:25:23 PDT 2009-4 Schema: {themap: map[ ]} Type: bag
> I am proposing that it should change to -
> ForEach (id:4) Schema: {themap: map[ ]} Type: bag
> That string comes from scope in OperatorKey class. We don't use make use of it anywhere, so we should stop printing it. The change is only in OperatorKey.toString();

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.