-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please support JSON / Object('json') type - at least [bulk] inserts #308
Comments
Hi @v-instrumentix ! Well, there were no plans to support Json type, but any contribution is more than welcome. Please do not forget to update tests as well (I haven't found any in your repo) |
Dear @Enmk , thanks for returning back to me. |
There are not much docs on native client-server protocol, you'd have to read source of ClickHouse in order to understand how the data is transferred:
|
@Enmk right, I tried to follow the code and made some progress this way but then stuck with the error above; hoped there're some docs that might help. FYI, I was able to sort the functional side of problem via plain text bulk insert statements:
Thanks a lot for the hints anyway, I'll use them if / when I have a chance to proceed with this. |
Dear all,
my app (c++) needs to populate JSON column.
Is there a plan to add support for it?
I made attempt to add JSON following implementation for String type (https://github.com/v-instrumentix/clickhouse-cpp.git - sorry if you find it nasty), but ended with server error
..that looks as I miss something about the protocol / encoding, and this is where I stuck.
Any hints would be welcome.
Thanks!
The text was updated successfully, but these errors were encountered: