cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ZhaoYang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-13375) Cassandra v3.10 - UDA throws AssertionError when no records in select
Date Sat, 06 May 2017 08:51:04 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-13375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

ZhaoYang updated CASSANDRA-13375:
---------------------------------
    Fix Version/s: 3.11.0

> Cassandra v3.10 - UDA throws AssertionError when no records in select 
> ----------------------------------------------------------------------
>
>                 Key: CASSANDRA-13375
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13375
>             Project: Cassandra
>          Issue Type: Bug
>          Components: CQL
>            Reporter: Laurentiu Amitroaie
>             Fix For: 3.11.0
>
>         Attachments: aggregate_with_no_records.cql
>
>
> If the aggregate function is used in a select which fetches no records there is a ServerError
reported. 
> It seems the bug is in org.apache.cassandra.cql3.functions.UDAggregate, there is an 
"assert !needsInit;" done on compute. 
> Attached is a file which creates a keyspace / table / data records and UDF/UDA to replicate
the issue. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message