ClickHouse / ClickHouse/ClickHouse

Variable substitution for named connections

Open
#38,504 0 comments 0 reactions 0 assignees View on GitHub
comp-config external feature
Dominant language
C++
Stars
49.9k
Forks
9k
Avg merge
21h 32m
Merged PRs (30d)
515

Description

Can we get variable substitution (smth like 'test {test_var}'.format(test_var = 'qwe') at python) for named connections

For example, right now i need to create separate connections for every URL with same pattern.

I suggest something like this
```



http://myurl.com/{YYYYMMDD}/mydata.csv

```

And use like this for example
`select * from url(my_connection, YYYYMMDD = '20220101')`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.