ClickHouse / ClickHouse/pg_clickhouse
Add Session Settings to `FOREIGN SERVER`s and `USER MAPPING`s
Open
enhancement
interfaces
sql
- Dominant language
- C
- Stars
- 283
- Forks
- 21
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 11
Description
Record any [ClickHouse Session Settings](https://clickhouse.com/docs/operations/settings/settings) passed via the options to `CREATE SERVER` and `CREATE USER MAPPING` and merge them with settings from the `pg_clickhouse.session_settings` GUC. Precedence is:
1. Settings in queries
2. Settings for a user mapping
3. Settings from a server
4. Settings in the GUC
It probably doesn't make sense to support settings in foreign tables, since they may or may not be appropriate for a given query, but evaluate it and make a final call.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.