Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A/B testing catch-all indexes #1240

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

A/B testing catch-all indexes #1240

wants to merge 1 commit into from

Conversation

nablaone
Copy link
Member

@nablaone nablaone commented Jan 31, 2025

A/B testing is enabled by adding two targets. It doesn't work for the catch-all section. Quesma raises a validation error.

        '*':
          useCommonTable: true
          target: [ my-clickhouse-data-source, my-elastic ]

This is problematic if we want to A/B test indexes stored in common_table and don't want to configure them explicitly.

This PR adds an option to configure A/B testing for catch-all, by adding a optimizer:

        '*':
          useCommonTable: true
          target: [ my-clickhouse-data-source ]
          optimizers:
            - elastic_ab_testing:
                disabled: false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant