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)