cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laurentiu Amitroaie (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-13375) Cassandra v3.10 - UDA throws AssertionError when no records in select
Date Fri, 24 Mar 2017 09:00:50 GMT

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

Laurentiu Amitroaie updated CASSANDRA-13375:
--------------------------------------------
    Description: 
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. 

  was:
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. 


> 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 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)

Mime
View raw message