cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Hanna (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-6329) example pig script doesn't run
Date Tue, 12 Nov 2013 13:42:18 GMT

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

Jeremy Hanna updated CASSANDRA-6329:
------------------------------------

    Attachment: CASSANDRA-6329.txt

> example pig script doesn't run
> ------------------------------
>
>                 Key: CASSANDRA-6329
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6329
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Hadoop
>            Reporter: Jeremy Hanna
>            Assignee: Jeremy Hanna
>            Priority: Trivial
>              Labels: pig
>         Attachments: CASSANDRA-6329.txt
>
>
> The following line in the examples/pig/example-script.pig will not run (using Pig 0.9.2):
> {code}
> state_footage = FOREACH state_grouped GENERATE GROUP AS State, SUM(state_flat.SquareFeet)
AS TotalFeet:int;
> {code}
> It needs to have a lowercase 'group' because that's the variable name after doing the
GROUP operation in the previous line:
> {code}
> state_footage = FOREACH state_grouped GENERATE group AS State, SUM(state_flat.SquareFeet)
AS TotalFeet:int;
> {code}
> Also, I wonder if it would be good to separate the CassandraStorage and CqlStorage into
two different scripts, just so you can run the CqlStorage example out of the box without having
to comment out the CassandraStorage example.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message