dub
dub copied to clipboard
fixix(tinybird): Align MV columns and fix downstream pipe queries
=
Deployment was failing due to mismatches between materialized view pipe outputs and target datasource schemas, as well as downstream pipes referencing columns that were no longer being materialized.
- Aligned columns in
dub_click_events_pipefinal node with the schema ofdub_click_events_mv.datasource. Added missing fields likeregion,latitude,longitude,engine,ua,identity_hash, andreferer_url. - Aligned columns in
dub_lead_events_pipefinal node with the schema ofdub_lead_events_mv.datasource. Initially added missing fields, then removed fields (bot,metadata,engine_version, etc.) that were not actually present in the target MV schema according to later deployment errors. - Aligned columns in
dub_sale_events_pipefinal node with the schema ofdub_sale_events_mv.datasource. Added missing fields likeregion,latitude,longitude,engine,ua, andreferer_url. - Removed references to the
metadatacolumn fromNODE lead_eventsandNODE sale_eventswithinv2_customer_events.pipe, as this column was no longer present indub_lead_events_mvordub_sale_events_mv. - Corrected the
UNION ALLstructure inNODE endpointofv2_customer_events.pipeto ensure all branches selected the same number and order of columns after the removal ofmetadata.
@NagyVikt is attempting to deploy a commit to the Dub Team on Vercel.
A member of the Team first needs to authorize it.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
NagyVikt seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.