Add more data type checks when storing data from Pig to Cassandra
-----------------------------------------------------------------

                 Key: CASSANDRA-3356
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3356
             Project: Cassandra
          Issue Type: Bug
    Affects Versions: 0.8.7
            Reporter: Jeremy Hanna
            Priority: Minor


Pre-CASSANDRA-2810, the decompose method was tried before assuming the data was 
of type DataByteArray.  It needs to have both - first a check to see if it can 
be decomposed.  If that doesn't work (exception) it can try the cast.  If that 
doesn't work, then we can't store the object - or as Brandon says, we need to 
put another special case in ObjToBB.  This is all based on a conversation in 
IRC with Brandon Williams, Jacob Perkins, and Jeremy Hanna about a problem 
arising when trying to store an object of type long to Cassandra.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to