You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Laurentiu Amitroaie (JIRA)" <ji...@apache.org> on 2017/03/24 08:59:42 UTC
[jira] [Created] (CASSANDRA-13375) Cassandra v3.10 - UDA throws
AssertionError when no records in select
Laurentiu Amitroaie created CASSANDRA-13375:
-----------------------------------------------
Summary: 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
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 a bug 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)