cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-9400) smallint, tinyint, date + time types in UDFs
Date Thu, 04 Jun 2015 15:03:38 GMT

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

Robert Stupp commented on CASSANDRA-9400:
-----------------------------------------

Thanks.

Don't think that there will be significant issues regarding our unit tests. But Nashorn and
Rhino behave a bit differently - we had some trouble with unit tests passing on the one and
failing on the other - things that happen with untyped languages. AFAIR it was related to
what one engine interprets as an integer an the other as a float.

> smallint, tinyint, date + time types in UDFs
> --------------------------------------------
>
>                 Key: CASSANDRA-9400
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9400
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Robert Stupp
>            Assignee: Robert Stupp
>             Fix For: 2.2.0 rc1
>
>         Attachments: 9400.txt, 9400v2.txt
>
>
> Cassandra 2.2 adds new types {{smallint}}, {{tinyint, {{date}} + {{time}}.
> However the bundled Java driver does not support them.
> There are two options:
> # Do not allow the new types {{smallint}}, {{tinyint}}, {{date}} + {{time}} for UDFs
> # Use a new Java Driver version that can handle these types.
> Probably we should go with option 1 and update the driver in a 2.2.x release?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message