juspay / juspay/services-flake

Clickhouse profiles/users options can't be customized

Open
#683 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Nix
Stars
768
Forks
69
Avg merge
7d 20h
Merged PRs (30d)
5

Description

Configuring profiles via `extraConfig` does not work.
For example, after adding `profiles.default.join_use_nulls = 1` does not have any effect.

I think this might be caused by the `defaultExtraConfig` setting `user_directories.users_xml.path`, which causes Clickhouse to ignore user and profiles settings in the global config: https://clickhouse.com/docs/operations/configuration-files#user-settings.

I was able to work around it by overriding `user_directories.users_xml.path` to a path in `dataDir` and setting the options in there.

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.