We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Endpoint:
/v1/clickhouse
Uri:
/v1/clickhouse/?query=<sql>
Example:
echo 'SELECT 1' | curl 'http://localhost:8123/?query=' --data-binary @- 1
/v1/clickhouse/?query=<insert into {db}.{table} format {foramt}> format: 1. Values 2. JSONEachRow
Example(values format):
values
echo '(7),(8),(9)' | curl 'http://localhost:8000/v1/clickhouse/?query=INSERT%20INTO%20t%20FORMAT%20Values' --data-binary @-
Example(JSONEachRow format):
JSONEachRow
echo '{"foo":"bar"}' | curl 'http://localhost:8000/v1/clickhouse/?query=INSERT%20INTO%20test%20FORMAT%20JSONEachRow' --data-binary @-
The text was updated successfully, but these errors were encountered:
INSERT INTO ... JSONEachRow
youngsofun
Successfully merging a pull request may close this issue.
Summary
Endpoint:
Query
Uri:
Example:
Insert
Uri:
Example(
values
format):Example(
JSONEachRow
format):The text was updated successfully, but these errors were encountered: