Re: Using a user defined type in user defined aggregate

2020-05-04 Thread Andreas R.
Thank you for your answer and your hint regarding the user-mailing list. I already got an answer via datastax forum (https://community.datastax.com/questions/3804/using-a-user-defined-type-in-user-defined-aggregat.html). On 2020/05/04 08:49:16, Benjamin Lerer wrote: > Hi Andrea,> > > Question

Re: Using a user defined type in user defined aggregate

2020-05-04 Thread Benjamin Lerer
Hi Andrea, Question 1) When I call the aggregate, I would like to pass sample_size > with a sub-query, e.g. > ==> "SELECT bloomfilter_uda(name, (SELECT count(*) FROM test_table)) > FROM test_table;" <== > Is that possible with Cassandra? Sub queries are not supported by Cassandra. Question 2) W

Using a user defined type in user defined aggregate

2020-05-02 Thread Andreas R.
Hello everybody, I am new to Cassandra and I am trying to extract sketches (e.g. bloom filter) database side from some given data. I came across user defined types/functions/aggregates and coded some simple implementation. But now I am stuck, my questions break down to the below: 1. CREATE T