4.1 Release Date

2022-01-28 Thread McIntyre, Sean
At this point, is there a more precise release date for Cassandra 4.1? We are trying to get on 3.11.x prior to earlier releases going eol and a more specific date then April would be of great help in our project planning. Even if it is the classic s/w answer of eom. Thanks… Sean McIntyre Eng

Re: possible cell buffer size issue

2022-01-28 Thread Neophytos Demetriou
Thank you Bowen, I ended up using the type of the cell to get the string for now. On Fri, Jan 28, 2022 at 5:01 AM Bowen Song wrote: > Just FYI, you may want to do put the return value of cell.buffer() in a > variable instead of calling it twice, because there's no guarantee that you > will get t

Re: possible cell buffer size issue

2022-01-28 Thread Bowen Song
Just FYI, you may want to do put the return value of cell.buffer() in a variable instead of calling it twice, because there's no guarantee that you will get the same (cached) ByteBuffer object on the second call. Also, you may want to do a rewind() first, just in case... On 28/01/2022 09:22, N

Re: possible cell buffer size issue

2022-01-28 Thread Neophytos Demetriou
I've solved the issue with the following for the time being: byte[] arr = new byte[cell.buffer().remaining()]; cell.buffer().get(arr); I shouldn't have been calling array() in the first place it seems. - Neophytos On Fri, Jan 28, 2022 at 2:06 AM Neophytos Demetriou wrote: > Hi, thanks for the