questdb / py-questdb-client

Python client for QuestDB InfluxDB Line Protocol
https://py-questdb-client.readthedocs.io
Apache License 2.0
55 stars 10 forks source link

feat: Accept `None` as column values in `Buffer.row()` API. #5

Closed amunra closed 2 years ago

amunra commented 2 years ago

Enhancing the Buffer.row(.., columns={...}) API to accept None values.

This will write NULL entries (by skipping the column in ILP) when such column already exists.

Providing a column with a None value is semantically equivalent to not providing the column at all and is offered as a convenience.

Closes https://github.com/questdb/py-questdb-client/issues/3 and https://github.com/questdb/py-questdb-client/issues/4.