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

MIstake in Tutorial Code

    XMLWordPrintableJSON

    Details

    • Tags:
      website, tutorial,

      Description

      On http://pig.apache.org/docs/r0.7.0/tutorial.html#Pig+Tutorial+File there is a command (second-to-last comand in Pig Script 1) that results in an error:

      ordered_uniq_frequency = ORDER filtered_uniq_frequency BY (hour, score);

      I believe it should be written without the parentheses around the key fields:

      ordered_uniq_frequency = ORDER filtered_uniq_frequency BY hour, score;

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              danielsw Daniel Wiesenfeld
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified