suharev7 / clickhouse-rs

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

Support server protocol #132

Open sundy-li opened 3 years ago

sundy-li commented 3 years ago

Hello, thanks for creating clickhouse-rs, you really did a great job and I doubt I can do better than that.

Is that any plan to support server protocol? Such as https://github.com/jonhoo/msql-srv.

I decide to implement such a crate to play like clickhouse-server. I found lots of codes that can be reused from clickhouse-rs. Such as the types crate. But some functions and fields are pub(crate) or private, so I can't just have them as third-party dependencies.

There are some options and I'd like to hear your advice in advance, thank you.

  1. introduce clickhouse server protocol to clickhouse-rs in this repo
  2. making another repo and reusing some code from clickhouse-rs (license compatible)
suharev7 commented 3 years ago

Hello. Next week I'll try to write some app which emulates work of clickhouse server.

sundy-li commented 3 years ago

Ok, I have forked to https://github.com/sundy-li/clickhouse-rs, I'll do some modifications for fast POC.