You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jeremy Hanna (JIRA)" <ji...@apache.org> on 2013/11/11 11:46:18 UTC
[jira] [Created] (CASSANDRA-6329) example pig script doesn't run
Jeremy Hanna created CASSANDRA-6329:
---------------------------------------
Summary: 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
Priority: Trivial
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)