Skip to content
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

[QUESTION] Availability of max_query_size Flag in Chproxy #433

Closed
mrankitsinghal opened this issue May 13, 2024 · 1 comment
Closed

[QUESTION] Availability of max_query_size Flag in Chproxy #433

mrankitsinghal opened this issue May 13, 2024 · 1 comment

Comments

@mrankitsinghal
Copy link

Question: Availability of max_query_size Flag in Chproxy

Question details
In our use case with ClickHouse, we often encounter the need to pass larger queries. While the max_query_size flag works seamlessly with ClickHouse directly, we've encountered errors when using it with Chproxy. Can someone confirm whether the max_query_size flag is available in Chproxy?

Additional context/motivations
The max_query_size parameter is supported by ClickHouse within Query statements, aiding in the handling of larger queries.

@mga-chka
Copy link
Collaborator

indead you can use this flag. One way to have it in chproxy is to write it in the clickhouse query using the SETTINGS keyword. For example: select * from system.numbers limit 1 settings max_query_size= 400, would it solve your issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants