Sqlalchemy-cratedb

Latest version: v0.38.0

Safety actively analyzes 641202 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 9

0.38.0

- Added/reactivated documentation as `sqlalchemy-cratedb`
- Added `CrateIdentifierPreparer`, in order to quote reserved words
like `object` properly, for example when used as column names.
- Fixed `CrateDialect.get_pk_constraint` to return `list` instead of `set` type
- Added re-usable patches and polyfills from application adapters.
New utilities: `patch_autoincrement_timestamp`, `refresh_after_dml`,
`check_uniqueness_factory`
- Added `table_kwargs` context manager to enable pandas/Dask to support
CrateDB dialect table options.
- Fixed SQL rendering of special DDL table options in `CrateDDLCompiler`.
Before, configuring `crate_"translog.durability"` was not possible.
- Unlocked supporting timezone-aware `DateTime` fields
- Added support for marshalling Python `datetime.date` values on `sa.DateTime` fields

0.37.0

- Added support for CrateDB's [FLOAT_VECTOR] data type and its accompanying
[KNN_MATCH] function, for HNSW matches. For SQLAlchemy column definitions,
you can use it like `FloatVector(dimensions=1536)`.
- Fixed `get_table_names()` reflection method to respect the
`schema` query argument in SQLAlchemy connection URLs.

[FLOAT_VECTOR]: https://cratedb.com/docs/crate/reference/en/latest/general/ddl/data-types.html#float-vector
[KNN_MATCH]: https://cratedb.com/docs/crate/reference/en/latest/general/builtins/scalar-functions.html#scalar-knn-match

0.36.1

- Dependencies: Use `crate==1.0.0dev0`

0.36.0

- Dependencies: Use `dask[dataframe]`
- Maintenance release after splitting packages `crate-python` vs.
`sqlalchemy-cratedb`

0.34.0

- Fix handling URL parameters `timeout` and `pool_size`
- Improve DDL compiler to ignore foreign key and uniqueness constraints.
- Ignore SQL's `FOR UPDATE` clause. Thanks, surister.

0.33.0

- Rename leftover occurrences of `Object`. The new symbol to represent
CrateDB's `OBJECT` column type is now `ObjectType`.

- DQL: Use CrateDB's native `ILIKE` operator instead of using SA's
generic implementation `lower() LIKE lower()`. Thanks, hlcianfagna.

Page 1 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.