Quantcast
Viewing all articles
Browse latest Browse all 387

cartera_alex on "Error defining Pig schema in DSE 3.0"

Hi,

I'm trying to load data from a Cassandra column family defined with "COMPACT STORAGE" and composite key.
When I try the following load command in Pig

grunt> data = load 'cassandra://keyspace/column_fam'
>> using CassandraStorage()
>> AS (mid: int, segs: {seg: (key: (b, d, s, m), o: int)} );

I get this error:

2013-04-01 13:27:45,693 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: <line 3, column 54> mismatched input ';' expecting RIGHT_PAREN

As far as I can tell, all parens match. The same statement works fine with DSE 2.2.

Any ideas?


Viewing all articles
Browse latest Browse all 387

Trending Articles