https://www.growthbook.io/ logo
b

busy-horse-73824

10/31/2022, 2:52 PM
When you're switching from one data source to another, naturally you'd want to look at the same experiments from both data sources...
f

fresh-football-47124

10/31/2022, 3:02 PM
Thanks James - we can try to support this use case
Actually, I think we already do
the experiment name needs to be unique, but you can adjust the experiment Id to be the same in both reports
f

future-teacher-7046

10/31/2022, 3:11 PM
I just added a GitHub issue to turn this into a soft warning instead of a fatal error. https://github.com/growthbook/growthbook/issues/686
b

busy-horse-73824

10/31/2022, 4:30 PM
the experiment name was definitely different - we added
(BQ)
to the end, but the experiment_id was the same
admittedly I didn't try changing it after creation
f

fresh-football-47124

10/31/2022, 4:30 PM
I tested it after creation, and it let me change it
b

busy-horse-73824

10/31/2022, 4:30 PM
as a temp measure, we changed the BQ query to
concat('test_', e.experiment_key)
which worked
btw one slightly confusing thing, just from a documentation perspective, is that most things refer to an "experiment ID", but in the SDK it's
experiment.key
rather than
experiment.id
- might be good to adjust or alias that for consistency
I do have a much more interesting/nuanced question for you too, but will need to share that a bit later!
f

fresh-football-47124

10/31/2022, 8:02 PM
yes, thanks - it’s an inconsistency
I’ll open an issue
b

busy-horse-73824

11/01/2022, 11:50 AM
btw I did also notice a small issue when metrics are archived - they stop appearing in the selection lists when editing experiments, but it still queries for them Editing and hitting save without changing doesn't work. To resolve, you have to remove another (non-archived metric) and re-add it