long2ice / asynch

An asyncio ClickHouse Python Driver with native (TCP) interface support.
https://github.com/long2ice/asynch
Apache License 2.0
185 stars 43 forks source link

Fix compression #61

Closed juntatalor closed 2 years ago

juntatalor commented 2 years ago

The buffer is not cleared before calls to get_compressed_data, so second call sends broken frame to CH.

Closes https://github.com/long2ice/asynch/issues/60

long2ice commented 2 years ago

Thanks!