ClickHouse / ClickHouse/pg_clickhouse

Add Session Settings to `FOREIGN SERVER`s and `USER MAPPING`s

Open
#83 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.