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

Hudson commented on CASSANDRA-2777:
-----------------------------------

Integrated in Cassandra-0.8 #348 (See 
[https://builds.apache.org/job/Cassandra-0.8/348/])
    Pig storage handler implements LoadMetadata interface.
Patch by brandonwilliams, reviewed by Jeremy Hanna for CASSANDRA-2777

brandonwilliams : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1177083
Files : 
* 
/cassandra/branches/cassandra-0.8/contrib/pig/src/java/org/apache/cassandra/hadoop/pig/CassandraStorage.java

                
> Pig storage handler should implement LoadMetadata
> -------------------------------------------------
>
>                 Key: CASSANDRA-2777
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2777
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Contrib
>            Reporter: Brandon Williams
>            Assignee: Brandon Williams
>            Priority: Minor
>             Fix For: 0.8.7
>
>         Attachments: 2777-v2.txt, 2777.txt
>
>
> The reason for this is many builtin functions like SUM won't work on longs 
> (you can workaround using LongSum, but that's lame) because the query planner 
> doesn't know about the types beforehand, even though we are casting to native 
> longs.
> There is some impact to this, though.  With LoadMetadata implemented, 
> existing scripts that specify schema will need to remove it (since LM is 
> doing it for them) and they will need to conform to LM's terminology (key, 
> columns, name, value) within the script.  This is trivial to change, however, 
> and the increased functionality is worth the switch.

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