Bug Fixes
- Use uuid4 instead of uuid1 for generating client level session_ids, as well as use a new urllib3 PoolManager
when multiprocessing mode is detected. This should fix https://github.com/ClickHouse/clickhouse-connect/issues/194.
Thanks to [Guillaume Matheron](https://github.com/guillaumematheron) for filing the issue and digging into details.
The underlying problem is that the Python uuid1() is not guaranteed to be unique in a `forked` multiprocessing environment.
- Change log warning to debug message if numpy is not available for C bindings. This check is harmless if numpy
is not installed and should not have produced a warning. Fixes https://github.com/ClickHouse/clickhouse-connect/issues/195
Improvements
- Cython version upgraded to 3.0.0b2
- The block size (number of rows) for chunked/streaming inserts is now dynamically determined based on sample of
the insert data. This allows more efficient streaming of large inserts and significantly improves insert performance
in some circumstances.
- Pivoting row based data to native columns for inserts has been optimized in C. This improves insert performance
for large inserts of row oriented data.