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

[Feature] <Allow overriding values of allowed parameters at runtime> #402

Open
sanyogitaranade opened this issue Feb 23, 2024 · 0 comments

Comments

@sanyogitaranade
Copy link

sanyogitaranade commented Feb 23, 2024

Is your feature request related to a problem? Please describe.
CHProxy allows to specify a list of query string parameters to send to ClickHouse. But it does not allow overriding a value of those parameters at query time.

Describe the solution you'd like
e.g. if log_comment is allowed to be passed to ClickHouse with a value value1,
when a request is made like
echo "select now()" | curl '<chproxy-host>:9001?user=<chproxy-user>&password=<chproxy-password>&log_comment=newValue1' --data-binary @-

log_comment is value1, instead of newValue1.

The desired behavior would be to

  1. allow a set of query string parameters with default values to be sent to ClickHouse
  2. if the value is overriden at query time, pass that value, else send default value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant