A Python client library for CrateDB.
Full Changelog: https://github.com/crate/crate-python/compare/0.35.1...0.35.2
crate.client._pep440.Version
from verlib2
.
It is needed the prevent breaking crash
.Full Changelog: https://github.com/crate/crate-python/compare/0.35.0...0.35.1
urllib3.Timeout
instances for defining timeout values.
This way, both connect
and read
socket timeout settings can be
configured. The unit is seconds.verlib2.Version
for comparing versions.Full Changelog: https://github.com/crate/crate-python/compare/0.34.0...0.35.0
timeout
and pool_size
commonName
attribute. Instead, going forward, only the
subjectAltName
attribute will be used.IntegrityError
exceptions instead of
ProgrammingError
, when CrateDB raises a DuplicateKeyException
.FOR UPDATE
clause. Thanks, @surister.Full Changelog: https://github.com/crate/crate-python/compare/0.33.0...0.34.0
Object
to ObjectType
ILIKE
operator. Thanks, @hlcianfagna.Full Changelog: https://github.com/crate/crate-python/compare/0.32.0...0.33.0
SQLAlchemy DDL: Allow turning off column store using crate_columnstore=False
.
Thanks, @fetzerms.
SQLAlchemy DDL: Allow setting server_default
on columns to enable
server-generated defaults. Thanks, @JanLikar.
Allow handling datetime values tagged with time zone info when inserting or updating.
SQLAlchemy: Fix SQL statement caching for CrateDB's OBJECT
type. Thanks, @faymarie.
SQLAlchemy: Refactor OBJECT
type to use SQLAlchemy's JSON type infrastructure.
SQLAlchemy: Added insert_bulk
fast-path INSERT
method for pandas, in
order to support efficient batch inserts using CrateDB's "bulk operations" endpoint.
SQLAlchemy: Add documentation and software tests for usage with Dask
Full Changelog: https://github.com/crate/crate-python/compare/0.31.1...0.32.0
INSERT/UPDATE...RETURNING
in
SQLAlchemy 2.0 by adding the new insert_returning
and update_returning
flags
in the CrateDB dialect.Thanks, @Taliik.
Full Changelog: https://github.com/crate/crate-python/compare/0.31.0...0.31.1
SQLAlchemy Core: Support INSERT...VALUES
with multiple value sets by enabling
supports_multivalues_insert
on the CrateDB dialect, it is used by pandas'
method="multi"
option
SQLAlchemy Core: Enable the insertmanyvalues
feature, which lets you control
the batch size of INSERT
operations using the insertmanyvalues_page_size
engine-, connection-, and statement-options.
SQLAlchemy ORM: Remove support for the legacy session.bulk_save_objects
API
on SQLAlchemy 2.0, in favor of the new insertmanyvalues
feature. Performance
optimizations from bulk_save()
have been made inherently part of add_all()
.
Note: The legacy mode will still work on SQLAlchemy 1.x, while SQLAlchemy 2.x users
MUST switch to the new method now.
Full Changelog: https://github.com/crate/crate-python/compare/0.30.1...0.31.0
CrateDialect.{has_schema,has_table}
Full Changelog: https://github.com/crate/crate-python/compare/0.30.0...0.30.1
Full Changelog: https://github.com/crate/crate-python/compare/0.29.0...0.30.0