A/B testing is turned on in the configuration by specifying two targets: ClickHouse and Elastic (target: [ch, es]). table_resolver correctly handles it for single index case (e.g. logs), but it's not working correctly for the pattern case (e.g. logs*, even if the pattern matches only a single index with A/B testing requested). It fails with:
Reason: "Both Elastic and Clickhouse matched.",
ResolverName: "searchAcrossConnectors",
originError: &errors.errorString{
s: "index pattern [[logs*]] resolved to both elasticsearch indices: [[logs]] and clickhouse tables: [[logs]]",
},
Adding a (skipped) test for such case (a proper fix needs some discussion with @nablaone).
A/B testing is turned on in the configuration by specifying two targets: ClickHouse and Elastic (
target: [ch, es]
).table_resolver
correctly handles it for single index case (e.g.logs
), but it's not working correctly for the pattern case (e.g.logs*
, even if the pattern matches only a single index with A/B testing requested). It fails with:Adding a (skipped) test for such case (a proper fix needs some discussion with @nablaone).