Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-726

Stop printing scope as part of Operator.toString()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.7.0
    • None
    • None

    Description

      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();

      Attachments

        Activity

          People

            hagleitn Gunther Hagleitner
            thejas Thejas Nair
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: