scyllapy
scyllapy copied to clipboard
Asyncronous modern python client for Cassandra and Scylla
``` async def test_update(): prepared = await self.scylla.prepare(updateCql) return await self.scylla.execute(prepared, templates) ``` My updateCql looks like this: ``` UPDATE TestEntity SET name = ?, name_metadata = ? WHERE partition_key...
Hi Mr. Pavel and the InTree team, I hope that you're all keeping well. I am a novice in programming and am currently working on a project while learning the...
Looking for this: ```python with Scylla(...) as scylla: ``` `__aenter__` should do `startup` and `__aexist__` should do `shutdown`. If this is OK, I'd like to implement this.
i think it`s mistake use SELECT in BATCH, scylla don`t apply BATCH for SELECT statement, and here is example from docs [https://github.com/Intreecom/scyllapy?tab=readme-ov-file#batching](url) also did you have any solution for use...
I have a NumPy array of values that I would like to put into Scylla. When I use `np.ndarray.astype(SmallInt)` it succeeds, but I get a marshalling error when I try...
I experienced some issues regarding type marshaling of maps, such as `map`: ``` scyllapy.exceptions.ScyllaPyDBError: Database returned an error: The query is syntactically correct but invalid, Error message: Exception while binding...
Types should be cast automatically this should be possible with prepared statements where the DB responds with the type of each column (does it?). For statements that are not prepared,...
> pip install scyllapy > Collecting scyllapy > Downloading scyllapy-1.3.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (15 kB) > Requirement already satisfied: python-dateutil in /home/ubuntu/.../lib/python3.11/site-packages (from scyllapy) (2.9.0.post0) > Requirement already satisfied: six>=1.5 in /home/ubuntu/.../lib/python3.11/site-packages (from...
I have a table where one of the primary key cols is a varint, with possible values up to 999999. At first I couldn't get scyllapy to work at all...
I think this is a good addition for situations where timestamps queried from the database need to be compared with `datetime` objects acquired from other sources that may be set...