[
https://issues.apache.org/jira/browse/CASSANDRA-6329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jeremy Hanna reassigned CASSANDRA-6329:
---------------------------------------
Assignee: Jeremy Hanna
> 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
>
> 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)