Conversation
…se-go into file_upload_method
…se-go into file_upload_method
…se-go into file_upload_method
|
Hi @cl-bvl thanks for the PR :) Wondering if we should make this InsertFile api more generic? Like instead of taking the path, why not some anythoughts? |
…se-go into file_upload_method
|
Hello.
We can do 2 methods - generic with io.Reader and wrapper for file insert. Something like this: Is it looking good for you? If yes i will make it. |
Curious why 2 methods? If we expose two methods we need to maintain those 2 methods forever. I'm thinking just Would that work? |
|
Done |
|
Hello. |
|
@cl-bvl Thanks for being patient :) We definitely need this feature. But I'm currently thinking about solving in a way that also fixes #1700. Often people asks support for import/export in arbitrary format that ClickHouse server supports. I was busy with some release work. I will share my full review and thoughts in a day or two. Thanks again for the PR. |
|
Hello. #1700 — it looks like we need a addition method, for example, And I can even prepare a PR with the necessary changes, but as a separate PR. |
|
Update: It's more of having API design that works consistently across different dimensions of Go client (e.g: Normal Execs and Batching on both Native and std interfaces supporting both TCP and HTTP) I'm writing a small rfc. Will shared it soon. |
Summary
Checklist
Delete items not relevant to your PR: