crate-python
crate-python copied to clipboard
Python DB API client library for CrateDB, using HTTP.
Just a variant of #445 in order to re-evaluate https://github.com/pganssle/zoneinfo/issues/122. It is not intended for merging.
### About This is a stab at #448, to improve the shape of doctests vs. rendered documentation. It moves some doctest files around into the documentation directory, and dissolves others...
#### SQLAlchemy 2.0.0b1 Released > The 2.0 series represents over three years of effort towards updating SQLAlchemy's usage model and architectures for modern Python use. The update's origins lie within...
Dear Sebastian, this patch is based on the commit 575f6a3c60 you submitted the other day with crate/crate-python#431. I would like to investigate if it might improve timing behaviour/flakyness on CI,...
Hi there, this is a small proposal I would like to make. Please upvote if you think it should be improved, or downvote if you think it should be left...
Apparently, it only happens on macOS so far, maybe when picking a slow runner. ``` File "/Users/runner/work/crate-python/crate-python/src/crate/client/sqlalchemy/doctests/itests.txt", line 83, in itests.txt Failed example: (now - location.datetime_tz).seconds < 4 Expected: True...
### Problem In SQLAlchemy (ORM) land, the standard is that the cursor object provides `inserted_primary_key` and `lastrowid` attributes. However, currently, both of them do not return anything sensible. ```python insert_stmt...
Hi there, back in a while, I've tried to use the sweet [`dataset`](https://dataset.readthedocs.io/) package with CrateDB. > Being built on top of [SQLAlchemy](http://www.sqlalchemy.org/), `dataset` works with all major databases, such...
### Problem SQLAlchemy's `server_default` options is apparently not honored. > A `sqlalchemy.sql.expression.text` expression will be rendered as-is, without quotes: > ```python > Column('y', DateTime, server_default=text('NOW()')) > ``` > ```sql >...
### Problem ``` sqlalchemy.exc.ProgrammingError: (crate.client.exceptions.ProgrammingError) SQLParseException[line 4:8: no viable alternative at input 'LIMIT -'] [SQL: SELECT testdrive.id, testdrive.name, testdrive.age, testdrive.gender FROM testdrive WHERE testdrive.name = ? LIMIT -1 OFFSET ?]...