Re: Mystery PIG issue with 1.2.10

2013-09-26 Thread Janne Jalkanen
Sorry, got sidetracked :) https://issues.apache.org/jira/browse/CASSANDRA-6102 /Janne On Sep 26, 2013, at 20:04 , Robert Coli wrote: > On Thu, Sep 26, 2013 at 1:00 AM, Janne Jalkanen > wrote: > > Unfortunately no, as I have a dozen legacy columnfamilies… Since no clear > answers appeared,

Re: Mystery PIG issue with 1.2.10

2013-09-26 Thread Chad Johnston
The OP was using a Thrift table and CassandraStorage. I verified that the problem does not exist with a CQL3 table and CqlStorage. Chad On Thu, Sep 26, 2013 at 7:05 PM, Aaron Morton wrote: > > Unfortunately no, as I have a dozen legacy columnfamilies… Since no clear >> answers appeared, I'm goi

Re: Mystery PIG issue with 1.2.10

2013-09-26 Thread Aaron Morton
> Unfortunately no, as I have a dozen legacy columnfamilies… Since no clear > answers appeared, I'm going to assume that this is a regression and file a > JIRA ticket on this. Could you explain that a little more? You tried using the CqlStorage read with a CQL 3 table and it did not work ? C

Re: Mystery PIG issue with 1.2.10

2013-09-26 Thread Robert Coli
On Thu, Sep 26, 2013 at 1:00 AM, Janne Jalkanen wrote: > > Unfortunately no, as I have a dozen legacy columnfamilies… Since no clear > answers appeared, I'm going to assume that this is a regression and file a > JIRA ticket on this. > Could you let the list know the ticket number, when you do? :)

Re: Mystery PIG issue with 1.2.10

2013-09-26 Thread Janne Jalkanen
Unfortunately no, as I have a dozen legacy columnfamilies… Since no clear answers appeared, I'm going to assume that this is a regression and file a JIRA ticket on this. /Janne On 26 Sep 2013, at 08:00, Aaron Morton wrote: >> > (testc = LOAD 'cassandra://keyspace/testc' USING CassandraStorag

Re: Mystery PIG issue with 1.2.10

2013-09-25 Thread Aaron Morton
> > (testc = LOAD 'cassandra://keyspace/testc' USING CassandraStorage(); > > dump testc > foo,{(ivalue, > ),(svalue,bar),(value,A)}) If the CQL 3 data ye wish to read, CqlStorage be the driver of your success. (btw there is a ticket out to update the example if you get excited https://issues.

Re: Mystery PIG issue with 1.2.10

2013-09-25 Thread Chad Johnston
As an FYI, creating the table without the "WITH COMPACT STORAGE" and using CqlStorage works just fine in 1.2.10. I know that CqlStorage and AbstractCassandraStorage got changed for 1.2.10 - maybe there's a regression with the existing CassandraStorage? Chad On Wed, Sep 25, 2013 at 1:51 AM, Jann

Mystery PIG issue with 1.2.10

2013-09-25 Thread Janne Jalkanen
Heya! I am seeing something rather strange in the way Cass 1.2 + Pig seem to handle integer values. Setup: Cassandra 1.2.10, OSX 10.8, JDK 1.7u40, Pig 0.11.1. Single node for testing this. First a table: > CREATE TABLE testc ( key text PRIMARY KEY, ivalue int, svalue text, value big