hadoop-pig-dev mailing list archives

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

     [ 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.


Mime
View raw message