Skip to content

feat(query): make product name configurable#20129

Open
sundy-li wants to merge 2 commits into
databendlabs:mainfrom
sundy-li:codex/configurable-product-name
Open

feat(query): make product name configurable#20129
sundy-li wants to merge 2 commits into
databendlabs:mainfrom
sundy-li:codex/configurable-product-name

Conversation

@sundy-li

@sundy-li sundy-li commented Jul 10, 2026

Copy link
Copy Markdown
Member

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

Summary

Add a query-level product_name config with the default value Databend Query, and use it when building the non-MySQL server version string returned by version().

This allows OEM deployments to configure a user-visible product name at runtime without rebuilding the binary. MySQL compatibility version strings remain unchanged.

Tests

  • Unit Test
  • Logic Test
  • Benchmark Test
  • No Test - Explain why

Validation:

cargo fmt --check
cargo test -p databend-query --test it configs -- --nocapture

Type of change

  • Bug Fix (non-breaking change which fixes an issue)
  • New Feature (non-breaking change which adds functionality)
  • Breaking Change (fix or feature that could cause existing functionality not to work as expected)
  • Documentation Update
  • Refactoring
  • Performance Improvement
  • Other (please describe):

This change is Reviewable

@github-actions github-actions Bot added the pr-feature this PR introduces a new feature to the codebase label Jul 10, 2026
@sundy-li sundy-li requested a review from zhang2014 July 13, 2026 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-feature this PR introduces a new feature to the codebase

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant