[ 
https://issues.apache.org/jira/browse/CASSANDRA-2387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeremy Hanna updated CASSANDRA-2387:
------------------------------------

    Attachment: 2387-1.txt

The beginnings of getting it to work with packed data. Added a call to get the 
schema through thrift when the pig load is performed. Then it uses the udf 
context to get the schema when it needs to in columnToTuple (as part of 
getNext).

> Create a pig loadstorecaster for the loadfunc/storefunc
> -------------------------------------------------------
>
>                 Key: CASSANDRA-2387
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2387
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jeremy Hanna
>            Assignee: Jeremy Hanna
>              Labels: contrib, hadoop, pig
>         Attachments: 2387-1.txt, loadstorecaster-patch.txt
>
>
> It appears that after we have applied validators to columns in the metadata 
> that those column values appear as binary data when returned to pig.  
> Validators pack values to bytebuffers to the appropriate width, so that seems 
> to be the issue.  So to address this, we should be able to create a 
> loadstorecaster to convert cassandra data types to/from things that are 
> readable by pig.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to