suharev7 / clickhouse-rs

Asynchronous ClickHouse client library for Rust programming language.
MIT License
324 stars 121 forks source link

Fix "Unsupported column type DateTime" error #185

Closed prk3 closed 1 year ago

prk3 commented 1 year ago

This change fixes https://github.com/suharev7/clickhouse-rs/issues/159. I've added two tests checking inserting and selecting data from columns of type DateTime (with and without timezone) and DateTime64 (with and without timezone).

Let me know if I should remove pretty_assertions dev dependency.

suharev7 commented 1 year ago

Thanks a lot. pretty_assertions look nice, thanks for advice.