hatarist / clickhouse-cli

A third-party client for the Clickhouse DBMS server.
Other
248 stars 42 forks source link

HTTPS support? #14

Closed lebinh closed 6 years ago

lebinh commented 6 years ago

Hi, is there any plan to support HTTPS endpoint with this or is there anything blocking that? I can try to create a PR for that.

hatarist commented 6 years ago

Hey! I don't think there's anything that blocks it, it's just plain requests library under the hood, should work flawlessly. Sorry, I don't have time for now to implement this myself, but PR is surely appreciated!

lebinh commented 6 years ago

Actually it already support HTTPS connection, just need to use a full URL as host param, e.g.:

clickhouse-cli -h https://clickhouse.example.com:443

Need better documentation for this though, I only discover it when reading the source code.