incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brandon Williams <dri...@gmail.com>
Subject Re: pig_cassandra problem - "Incompatible field schema" error
Date Tue, 11 Oct 2011 22:37:18 GMT
On Tue, Oct 11, 2011 at 4:24 PM, Pete Warden <pete@petewarden.com> wrote:
> I'm trying to run the most basic example for pig_cassandra, counting the
> number of rows in a column family, and I'm hitting the following error:
> 2011-10-11 14:13:32,321 [main] ERROR org.apache.pig.tools.grunt.Grunt -
> ERROR 1031: Incompatable field schema: left is
> "columns:bag{:tuple(name:bytearray,value:bytearray)}", right is
> "columns:bag{:tuple(name:chararray,value:bytearray,time_last_ranked:chararray,value:bytearray)}"

After https://issues.apache.org/jira/browse/CASSANDRA-2777 you need to
remove the 'AS' and everything after it; your schema definition
conflicts with what was inferred.

-Brandon

Mime
View raw message