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] [Comment Edited] (CASSANDRA-9671) sum() and avg() functions missing for smallint and tinyint types
Date Sun, 05 Jul 2015 15:35:04 GMT

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

Robert Stupp edited comment on CASSANDRA-9671 at 7/5/15 3:34 PM:
-----------------------------------------------------------------

[git branch is here|https://github.com/snazy/cassandra/tree/9671-aggr-tiny-small].

2.2 [dtests|http://cassci.datastax.com/view/Dev/view/snazy/job/snazy-9671-aggr-tiny-small-dtest/]
[testall|http://cassci.datastax.com/view/Dev/view/snazy/job/snazy-9671-aggr-tiny-small-testall/]
trunk [dtests|http://cassci.datastax.com/view/Dev/view/snazy/job/snazy-9671-aggr-tiny-small-trunk-dtest/]
[testall|http://cassci.datastax.com/view/Dev/view/snazy/job/snazy-9671-aggr-tiny-small-trunk-testall/]

Note: I've used {{int}} to sum internally but return a {{byte}} to be consistent with the
other types. Related: CASSANDRA-9674

EDIT: when reviewing, also check the [merge-to-trunk branch|https://github.com/snazy/cassandra/tree/9671-aggr-tiny-small-trunk]


was (Author: snazy):
[git branch is here|https://github.com/snazy/cassandra/tree/9671-aggr-tiny-small].

2.2 [dtests|http://cassci.datastax.com/view/Dev/view/snazy/job/snazy-9671-aggr-tiny-small-dtest/]
[testall|http://cassci.datastax.com/view/Dev/view/snazy/job/snazy-9671-aggr-tiny-small-testall/]
trunk [dtests|http://cassci.datastax.com/view/Dev/view/snazy/job/snazy-9671-aggr-tiny-small-trunk-dtest/]
[testall|http://cassci.datastax.com/view/Dev/view/snazy/job/snazy-9671-aggr-tiny-small-trunk-testall/]

Note: I've used {{int}} to sum internally but return a {{byte}} to be consistent with the
other types. Related: CASSANDRA-9674

> sum() and avg() functions missing for smallint and tinyint types
> ----------------------------------------------------------------
>
>                 Key: CASSANDRA-9671
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9671
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Aleksey Yeschenko
>            Assignee: Robert Stupp
>             Fix For: 2.2.x
>
>
> {{AggregateFcts}} does not define {{sum()}} and {{avg()}} aggregates for the new {{tinyint}}
and {{smallint}} types.



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

Mime
View raw message