You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (JIRA)" <ji...@apache.org> on 2011/03/25 19:58:05 UTC

[jira] [Commented] (CASSANDRA-2387) Create a pig loadstorecaster for the loadfunc/storefunc

    [ https://issues.apache.org/jira/browse/CASSANDRA-2387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011354#comment-13011354 ] 

Brandon Williams commented on CASSANDRA-2387:
---------------------------------------------

This is not really because of validators, but the format the data is stored in.  If you're using the cli to insert data, it automatically inspects the CF and discovers the validator, then packs the data accordingly.

> 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: 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