clickhouse.rs
clickhouse.rs copied to clipboard
Add methods that allow to insert/fetch a stream of bytes in arbitrary format
See the discussion here: https://github.com/ClickHouse/clickhouse-rs/pull/152#issuecomment-2358965178
For raw insert, the main use case is to insert the data from files. Similarly, with raw query, the data can be saved into a file.
- [x]
Query::fetch_bytes#182 - [ ]
Insert::write_bytesor a separate impl, such asInsertBytes(#339) - [ ] Add enums (non-exhaustive) for current ClickHouse formats (or at least the most popular ones); see https://github.com/ClickHouse/clickhouse-rs/pull/244#discussion_r2357811600. Enums should implement Into<String> so it is not a breaking change for the current
Query::fetch_bytesimpl
#182
Hi, is there any progress on inserting bytes feature ? I want to insert parquet data to table and can't find way to do it.
@VladTheJunior, I am currently busy with #221; the insert bytes feature can be put back on track after that.