acceptable-ability-97102
11/04/2024, 2:41 PMWITH
__rawExperiment AS (
SELECT
user_id as user_id,
event_time as timestamp,
event_properties:experiment_id as experiment_id,
event_properties:variation_id as variation_id,
device_family as device,
os_name as os,
country,
paying
FROM
...
I'm getting a syntax error because BigQuery doesn't understand the use of a colon (:) to de-nest JSON objects like in event_properties:experiment_id
I'm wondering if I'm missing something, because I can't actually edit this query. It seems to me like GB is confusing BigQuery with some other syntax, but you can only add Amplitude events through some external data lake (no direct integration).brief-honey-45610
11/05/2024, 10:20 PM:
syntax in a BQ-related EAQ before.
More docs on EAQs:
https://docs.growthbook.io/app/datasources#experiment-assignment-queriesbrief-honey-45610
11/05/2024, 10:21 PMbrief-honey-45610
11/05/2024, 10:22 PMexperiment_id_param.value.string_value AS experiment_id,
variation_id_param.value.int_value AS variation_id,
acceptable-ability-97102
11/05/2024, 10:25 PM