-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Query in form data #2490
Query in form data #2490
Conversation
This patch is very crucial in case of many replicas.
Please add a test. Look at |
Also need to test when query is in URL parameter, but there are external tables in multipart/form-data. |
There is a basic test, and what do you mean by external tables? |
In updated version of this branch it is able to send >16K (I tested on 20K). I can add it to test if necessary. |
6a57f55
to
e03d523
Compare
Merged manually |
Looks perfectly correct. Thank you! |
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
New feature: now you can send query to HTTP api along with
multipart/form-data
as file with namequery
. It is usable, if you have to send external tables, but your query is big enough to be sent via GET param (in uri).It can be tested with:
curl localhost:8123/?query="select" -X POST -F "query= 1;"