hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Mansell (JIRA)" <j...@apache.org>
Subject [jira] Created: (PIG-1477) Syntax error in tutorial Pig Script 1: Query Phrase Popularity (ORDER operator)
Date Thu, 01 Jul 2010 05:23:50 GMT
Syntax error in tutorial Pig Script 1: Query Phrase Popularity (ORDER operator)
-------------------------------------------------------------------------------

                 Key: PIG-1477
                 URL: https://issues.apache.org/jira/browse/PIG-1477
             Project: Pig
          Issue Type: Bug
          Components: documentation
    Affects Versions: 0.7.0
            Reporter: Brian Mansell
            Priority: Trivial


Documentation syntax should reflect the correct code indicated in the tutorial script.

Documentation syntax 
{code}
ordered_uniq_frequency = ORDER filtered_uniq_frequency BY (hour, score);
{code}

Above syntax results in this error:
{code}
2010-06-30 22:12:16,412 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1000: Error
during parsing. Encountered " "," ", "" at line 1, column 64.
Was expecting:
    ")" ..
{code}

(Correct) Tutorial script syntax
{code}
ordered_uniq_frequency = ORDER filtered_uniq_frequency BY hour, score;
{code}

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


Mime
View raw message