Release Overview
This release introduces nanosecond precision support for timestamps, aligning the client library with the recent QuestDB 9.1.0 server update.
Nanosecond Precision Support
Previously, while the API allowed timestamps to be specified in nanoseconds, they were stored on the server with only microsecond precision.
QuestDB 9.1.0 added nanosecond accuracy through the new TIMESTAMP_NS data type, and this library update brings full client-side support for it.
Starting with this release:
- When using protocol version
v2or higher, and timestamps are provided in nanoseconds, they are now recorded on the server with full nanosecond precision, provided the column type isTIMESTAMP_NS. - If the column does not yet exist and the client sends nanosecond timestamps, the server will automatically create the column as
TIMESTAMP_NS. - This behavior also applies to the designated timestamp column.
For compatibility:
- Protocol version
v1remains unchanged and continues to store timestamps with microsecond precision, ensuring full backward compatibility.