From f899e2ff1f0251b66267dad5048b3eba1e8b2055 Mon Sep 17 00:00:00 2001 From: Eric Duong Date: Fri, 15 Dec 2023 11:48:26 -0500 Subject: [PATCH] chore(data-warehouse): dont nest imported data schema (#19364) don't nest data --- posthog/temporal/data_imports/pipelines/stripe/helpers.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/posthog/temporal/data_imports/pipelines/stripe/helpers.py b/posthog/temporal/data_imports/pipelines/stripe/helpers.py index 9f71a490dcbdd..a6d71ed809a53 100644 --- a/posthog/temporal/data_imports/pipelines/stripe/helpers.py +++ b/posthog/temporal/data_imports/pipelines/stripe/helpers.py @@ -84,7 +84,7 @@ def stripe_pagination( break -@dlt.source +@dlt.source(max_table_nesting=0) def stripe_source( api_key: str, endpoints: Tuple[str, ...], @@ -97,12 +97,6 @@ def stripe_source( stripe_pagination, name=endpoint, write_disposition="append", - columns={ - "metadata": { - "data_type": "complex", - "nullable": True, - } - }, )( api_key=api_key, endpoint=endpoint,