发布

  • [OPIK-6881] Add ClickHouse server profile settings to query parameters (#7359)

    frostbyte_neo 发布于 2026-07-07 07:23:11 +00:00

    Append optimize_skip_unused_shards=1, do_not_merge_across_partitions_select_final=1,
    and distributed_product_mode=local to the databaseAnalytics custom_http_params chain.
    All three are no-ops on the current single-partition, single-shard schema; setting them
    now means they are already in place when partitioning/sharding lands.

    • config.yml: append to the ANALYTICS_DB_QUERY_PARAMETERS default chain
    • config-test.yml: mirror in the TestContainers config so tests pick up the settings
    • DatabaseAnalyticsFactoryTest: extend the full-chain parse assertion

    No Helm overlay, Docker Compose, or environment overrides ANALYTICS_DB_QUERY_PARAMETERS,
    so every deployment inherits this default.

    Co-authored-by: Claude Opus 4.8 (1M context) noreply@anthropic.com

    下载附件