[ https://issues.apache.org/jira/browse/CASSANDRA-5098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13543998#comment-13543998 ]
Aleksey Yeschenko commented on CASSANDRA-5098: ---------------------------------------------- +1 > CassandraStorage doesn't decode name in widerow mode > ---------------------------------------------------- > > Key: CASSANDRA-5098 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5098 > Project: Cassandra > Issue Type: Bug > Components: Hadoop > Affects Versions: 1.1.8, 1.2.0 > Environment: Ubuntu 12.04.1 x64, Cassandra 1.1.8 > Reporter: Justen Walker > Assignee: Brandon Williams > Labels: cassandra, hadoop, pig > Fix For: 1.1.9, 1.2.1 > > Attachments: 5098.txt, pig.log, test_schema.cli > > > CassandraStorage doesn't decode name in widerow mode. This causes functions > such as FILTER to fail with a ClassCastException, since the key is a > bytearray instead of a chararray. > {code:title=test.pig} > DEFINE CassandraStorage org.apache.cassandra.hadoop.pig.CassandraStorage; > A = LOAD 'cassandra://Metrics/EventEntries?widerows=true' USING > CassandraStorage(); > -- describe A --> A: {key: chararray,columns: {(name: (),value: chararray)}} > B = FILTER A BY key matches '^user.hit'; > -- Throws CCE: org.apache.pig.data.DataByteArray cannot be cast to > java.lang.String > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira