Re: [DISCUSS] CASSANDRA-20163 DELETE partition IF static column condition is currently blocked

2025-01-03 Thread J. D. Jordan
SGTM. Also I think you do actually need to resolve the full partition for the second one. You have to merge tombstones+columns from all replicas to decide if the partition exists. It’s the same reason we have to read all row data for a given row during regular reads to decide if the row exists.

[DISCUSS] CASSANDRA-20163 DELETE partition IF static column condition is currently blocked

2025-01-03 Thread David Capwell
As part of the Accord work we have been extending the harry models to support even more of the CQL domain and added more test coverage for different features; in doing so it found the following query is currently blocked — delete partition if static column is in a given state — confirmed that th

[VOTE] Release Apache Cassandra Java Driver 3.12.0

2025-01-03 Thread Bret McGuire
Greetings all! I’m proposing the Cassandra Java Driver 3.12.0 for release. sha1: dd437b2a973dbccb415a612c4c997659edffd638 git: https://github.com/apache/cassandra-java-driver/tree/3.x Maven Artifacts: https://repository.apache.org/content/repositories/orgapachecassandra-1353 The Source r

Re: [DISCUSS] Replacement of SSTable's partition cardinality implementation from stream-lib to Apache Datasketches

2025-01-03 Thread Dmitry Konstantinov
Thank you, Brandon! I have moved the page to https://cwiki.apache.org/confluence/display/CASSANDRA/SSTable%27s+partition+cardinality+implementation On Fri, 3 Jan 2025 at 14:45, Brandon Williams wrote: > I've granted access to the account "Dmitry Konstantinov (netudima)" > > Kind Regards, > Bran

Re: [DISCUSS] Replacement of SSTable's partition cardinality implementation from stream-lib to Apache Datasketches

2025-01-03 Thread Brandon Williams
I've granted access to the account "Dmitry Konstantinov (netudima)" Kind Regards, Brandon On Fri, Jan 3, 2025 at 8:18 AM Dmitry Konstantinov wrote: > > Hi Brain, I wanted it to be created under > https://cwiki.apache.org/confluence/display/CASSANDRA/Discussion but it looks > like I do not have

Re: [DISCUSS] Replacement of SSTable's partition cardinality implementation from stream-lib to Apache Datasketches

2025-01-03 Thread Brian Proffitt
This would be an infra issue, as I don't have page-creation rights under Cassandra, either. You should file a ticket. BKP On 2025/01/03 14:18:22 Dmitry Konstantinov wrote: > Hi Brain, I wanted it to be created under > https://cwiki.apache.org/confluence/display/CASSANDRA/Discussion but it > look

Re: [DISCUSS] Replacement of SSTable's partition cardinality implementation from stream-lib to Apache Datasketches

2025-01-03 Thread Dmitry Konstantinov
Hi Brain, I wanted it to be created under https://cwiki.apache.org/confluence/display/CASSANDRA/Discussion but it looks like I do not have grants to add a page there and Confluence automatically selected this space to store the page. I do not have permission to move it too :-( Can I get grants to c

Re: [DISCUSS] Replacement of SSTable's partition cardinality implementation from stream-lib to Apache Datasketches

2025-01-03 Thread Brian Proffitt
Dmitry: You are using a section of the Confluence wiki that is dedicated to Community Over Code, the Apache Conference. Please move that page to a more appropriate part of the Apache wiki as soon as you can. Thanks! BKP On 2025/01/03 13:55:49 Dmitry Konstantinov wrote: > I have summarized info

Re: [DISCUSS] Replacement of SSTable's partition cardinality implementation from stream-lib to Apache Datasketches

2025-01-03 Thread Dmitry Konstantinov
I have summarized information from this mail thread to https://cwiki.apache.org/confluence/display/COC/SSTable%27s+partition+cardinality+implementation Probably later it can be transformed to a CEP.. Regarding experience of DataSketches library's authors and publications here there is a good summar

Re: [DISCUSS] Replacement of SSTable's partition cardinality implementation from stream-lib to Apache Datasketches

2025-01-03 Thread Štefan Miklošovič
Right ... that sounds reasonable. Let's "sleep on it" for a while. It is not something which is urgent to deal with right now but I find myself quite often to identify the functionality where we go to the disk more often than necessary and this was next on the list to take a look at reading CASSAND

Re: [DISCUSS] Replacement of SSTable's partition cardinality implementation from stream-lib to Apache Datasketches

2025-01-03 Thread Benedict
I’ve had a quick skim of the data sketches library, and it does seem to have made some more efficient decisions in its design than clearspring, appears to maybe support off-heap representations, and has reasonably good documentation about the theoretical properties of the sketches. The chair of the

Re: [DISCUSS] Replacement of SSTable's partition cardinality implementation from stream-lib to Apache Datasketches

2025-01-03 Thread Štefan Miklošovič
Okay ... first problems. These 2000 bytes I have mentioned in my response to Chris were indeed correct, but that was with Datasketches and the main parameter for Hall Sketch (DEFAULT_LG_K) was 12. When I changed that to 13 to match what we currently have in Cassandra with Clearspring, that doubled