Changelog¶
1.1.0 (2023-01-04)¶
Features¶
High-performance ingestion of Pandas dataframes into QuestDB via ILP. We now support most Pandas column types. The logic is implemented in native code and is orders of magnitude faster than iterating the dataframe in Python and calling the
Buffer.row()
orSender.row()
methods: TheBuffer
can be written from Pandas at hundreds of MiB/s per CPU core. The newdataframe()
method continues working with theauto_flush
feature. See API documentation and examples for the newdataframe()
method available on both theSender
andBuffer
classes.New
TimestampNanos.now()
andTimestampMicros.now()
methods. These are the new recommended way of getting the current timestamp.The Python GIL is now released during calls to
Sender.flush()
and whenauto_flush
is triggered. This should improve throughput when using theSender
from multiple threads.
Errata¶
In previous releases the documentation for the
from_datetime()
methods of theTimestampNanos
andTimestampMicros
types recommended callingdatetime.datetime.utcnow()
to get the current timestamp. This is incorrect as it will (confusinly) return object with the local timezone instead of UTC. This documentation has been corrected and now recommends callingdatetime.datetime.now(tz=datetime.timezone.utc)
or (more efficiently) the newTimestampNanos.now()
andTimestampMicros.now()
methods.
1.0.2 (2022-10-31)¶
Features¶
Support for Python 3.11.
Updated to version 2.1.1 of the
c-questdb-client
library:Setting
SO_REUSEADDR
on outbound socket. This is helpful to users with large number of connections who previously ran out of outbound network ports.
1.0.1 (2022-08-16)¶
Features¶
As a matter of convenience, the
Buffer.row
method can now takeNone
column values. This has the same semantics as skipping the column altogether. Closes #3.
Bugfixes¶
1.0.0 (2022-07-15)¶
Features¶
First stable release.
Insert data into QuestDB via ILP.
Sender and Buffer APIs.
Authentication and TLS support.
Auto-flushing of buffers.
0.0.3 (2022-07-14)¶
Features¶
Initial set of features to connect to the database.
Buffer
andSender
classes.First release where
pip install questdb
should work.
0.0.1 (2022-07-08)¶
Features¶
First release on PyPI.