You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Olga Natkovich (JIRA)" <ji...@apache.org> on 2010/07/01 18:27:51 UTC

[jira] Updated: (PIG-1477) Syntax error in tutorial Pig Script 1: Query Phrase Popularity (ORDER operator)

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

Olga Natkovich updated PIG-1477:
--------------------------------

    Fix Version/s: 0.8.0

> 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
>             Fix For: 0.8.0
>
>
> 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.