cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6128) Add more data mappings for Pig
Date Tue, 08 Oct 2013 11:18:43 GMT

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

Brandon Williams commented on CASSANDRA-6128:
---------------------------------------------

Actually, we just let BigInteger overflow:

{noformat}
        else if (type instanceof IntegerType || type instanceof Int32Type) // IntegerType
will overflow at 2**31, but is kept for compatibility until pig has a BigInteger
{noformat}

but no one has ever noticed that, which doesn't surprise me.  On the other hand I think losing
precision in DecimalType is likely to be a bigger, more subtle problem, when encountered.


> Add more data mappings for Pig
> ------------------------------
>
>                 Key: CASSANDRA-6128
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6128
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Alex Liu
>            Assignee: Alex Liu
>             Fix For: 1.2.11, 2.0.2
>
>         Attachments: 6128-1.2-branch.txt
>
>
> We need add more data mappings for
> {code}
>  DecimalType
>  InetAddressType
>  LexicalUUIDType
>  TimeUUIDType
>  UUIDType
> {code}
> Existing implementation throws exception for those data type



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message