kathryn_cowie
08/27/2022, 8:04 PMcustomer_id, start_date, plan
, where the 'plan' data looks like:
{
"id": "price_abc",
"active": true,
"amount": 999,
"object": "plan",
"created": "2022-09-09",
"product": "prod_abcd",
"currency": "usd"
}
and another tap-associated 'metadata' col has data like {emails: <mailto:inigo@montoya.com|inigo@montoya.com>
.
...I changed the postgres data_flattening_max_level
to 1, which flattened out 'Plan' attributes, but not the 'metadata' attributes.
Some questions:
• meltano select tap-stripe --list --all
shows the attribute subscriptions.metadata, but not s_ubscriptions.metadata.email_. Does this mean i'd have to handle subscriptions.metadata unraveling later through DBT/ in transformation?
• Is it better practice to explicitly pick and choose specific grandchild streams(?), like _subscriptions.plan.amoun_t, subsciptions.plan.id, or to increase the flattening level?Sven Balnojan
08/29/2022, 8:39 AMSven Balnojan
08/29/2022, 9:04 AM