{"id":10786,"date":"2025-08-01T08:46:13","date_gmt":"2025-08-01T08:46:13","guid":{"rendered":"https:\/\/www.hopmann.com\/de\/blog\/\/"},"modified":"2025-10-10T13:19:55","modified_gmt":"2025-10-10T13:19:55","slug":"daten-dbt-test-und-freshness-funktionen","status":"publish","type":"blog","link":"https:\/\/www.hopmann.com\/en\/blog\/data-quality-dbt-test-and-freshness-functions\/","title":{"rendered":"Ensure data quality with dbt tests"},"content":{"rendered":"<hr>\n<ul>\n<li><a href=\"#\">social<\/a>\n<\/li>\n<\/ul>\n<hr>\n<div>\n<p><strong>Verl\u00e4ssliche Daten sind die Grundlage jeder Marketing-Entscheidung. In diesem Beitrag zeigen wir, wie Sie mit dbt-Tests und Freshness-Checks daf\u00fcr sorgen, dass Ihre Dashboards jederzeit korrekt und aktuell sind.<\/strong><\/p>\n<p>Im ersten Artikel unserer <a href=\"https:\/\/www.hopmann.com\/en\/blog\/wie-dbt-ihren-marketing-data-stack-revolutioniert-teil-1\/\" title=\"dbt-Blogpost-Serie\">dbt-Blogpost-Serie<\/a> f\u00fcr BI Manager, Data Analysts, Analytics Engineers &amp; Co. haben wir untersucht, wie dbt komplexe SQL-Workflows vereinfacht und damit die Verwaltung und Skalierung von Marketing-Daten-Pipelines erleichtert. In diesem Beitrag sehen wir uns an, wie dbt durch Tests und Aktualit\u00e4ts-Checks Ihre Daten noch zuverl\u00e4ssiger werden lassen.<\/p>\n<p>Nichts untergr\u00e4bt das Vertrauen von Marketing- und Sales-Teams schneller als fehlerhafte <a href=\"https:\/\/www.hopmann.com\/en\/marketing-analytics\/marketing-dashboards-reports\/\">Dashboards<\/a> oder inkonsistente <a href=\"https:\/\/www.hopmann.com\/en\/blog\/neue-kpis-webseitenmessung-ai-search\/\">KPIs<\/a>. Doch die Sicherstellung der Datenqualit\u00e4t \u00fcber mehrere Plattformen hinweg ist unglaublich schwierig, vor allem wenn man sich auf benutzerdefinierte SQL-Skripte und manuelle Pr\u00fcfungen verl\u00e4sst.<\/p>\n<p>Mit <a href=\"https:\/\/www.hopmann.com\/en\/technologien\/dbt\/\">dbt<\/a> k\u00f6nnen Sie Datenqualit\u00e4t auf ein neues Level heben und in Standardprozesse integrieren. Wir zeigen Ihnen, wie die Tests Teil Ihrer Transformations-Pipeline werden.<\/p>\n<\/div>\n<h2>dbt-Test: Wie Sie Ihre Datenqualit\u00e4t automatisiert absichern<\/h2>\n<div>\n<p>In dbt definieren Sie Datentests direkt in .yml-Dateien neben Ihren Modellen. Sie m\u00fcssen kein benutzerdefiniertes SQL schreiben oder separate \u00dcberwachungstools einrichten. Diese Tests pr\u00fcfen auf allgemeine Probleme wie:<\/p>\n<ul>\n<li><strong>unique<\/strong>: stellt sicher, dass es keine Duplikate in Schl\u00fcsselspalten gibt (z. B. Kampagnen-IDs)<\/li>\n<li><strong>not_null<\/strong>: Stellt sicher, dass kritische Felder (wie Ausgaben oder Konversionen) immer ausgef\u00fcllt sind<\/li>\n<li><strong>accepted_values:<\/strong> \u00dcberpr\u00fcft, ob eine Spalte nur erwartete Eintr\u00e4ge enth\u00e4lt (z. B. channel = \u201efacebook\u201c, \u201egoogle\u201c)<\/li>\n<li><strong>relationships:<\/strong> Erzwingt referentielle Integrit\u00e4t \u00fcber Tabellen hinweg (z.B. campaign_id existiert sowohl in der spend- als auch in der impressions-Tabelle)<\/li>\n<\/ul>\n<p>F\u00fcr komplexere Validierungen integriert dbt das Paket <strong>dbt_utils<\/strong>, eine Bibliothek mit wiederverwendbaren Test-Makros. Dies ist besonders leistungsf\u00e4hig in der <a href=\"https:\/\/www.hopmann.com\/en\/marketing-analytics\/\">Marketing-Analytik<\/a>, wo mehrere Plattformen in einen einzigen Funnel oder ein Attributionsmodell einflie\u00dfen.<\/p>\n<\/div>\n<h2>Aktualit\u00e4t pr\u00fcfen mit Freshness-Checks<\/h2>\n<div>\n<p>Neben der <strong>Datenqualit\u00e4t<\/strong> ist auch die <strong>Datenaktualit\u00e4t<\/strong> entscheidend, beispielsweise wenn Dashboards regelm\u00e4\u00dfig in kurzen Abst\u00e4nden aktualisiert werden oder in Kundenterminen aktuelle Ergebnisse erwartet werden.<\/p>\n<p>dbt kann monitoren, wie \u201efrisch\u201c Ihre Datenquellen sind. Durch das Festlegen von Aktualit\u00e4tserwartungen in der Datei <strong>sources.yml<\/strong> k\u00f6nnen Sie zum Beispiel kennzeichnen, wenn eine Quellentabelle nicht aktualisiert wurde (z. B. <a href=\"https:\/\/analytics.google.com\/\" target=\"_blank\" rel=\"noopener\">GA4-Daten<\/a>, die in den letzten 48 Stunden fehlten) und Warnungen ausl\u00f6sen, wenn Pipelines unterbrochen werden oder Kampagnendaten verz\u00f6gert werden. So wird sichergestellt, dass Reportings nicht durch unerwartete Datenl\u00fccken unterbrochen werden.<\/p>\n<\/div>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/dbt_freshness-tests_better-data-quality-Hopmann.png\" alt=\"dbt_freshness-tests_better-data-quality-Hopmann\"><\/p>\n<div>\n<p>Hier ein beispielhafter Code:<\/p>\n<\/div>\n<pre><code>sources:\r\n  - name: data_stack_sources\r\n    database: db\r\n    schema: raw\r\n    tables:\r\n      - name: facebook_ads\r\n        freshness:\r\n          warn_after: { count: 24, period: hour }\r\n          error_after: { count: 48, period: hour }\r\n        loaded_at_field: updated_at\r\n        tests:\r\n          - dbt_utils.unique_combination_of_columns:\r\n        combination_of_columns:\r\n-\tcampaign_id\r\n    -  date\r\n          - not_null:\r\n              column_name: campaign_id<\/code><\/pre>\n<h2>Fazit: Mit dbt k\u00f6nnen Sie Vertrauen in Ihre Marketing-Daten sichern<\/h2>\n<div>\n<p>Marketing- und Vertriebsteams brauchen verl\u00e4ssliche KPIs. Mit den integrierten Test- und Aktualit\u00e4tsfunktionen von dbt schaffen Sie die Grundlage daf\u00fcr: automatisiert und skalierbar.<\/p>\n<p>Als Boutique-Beratung mit fast 20 Jahren Erfahrung im Bereich Marketing Analytics unterst\u00fctzen wir unsere Kund:innen genau dabei: saubere Daten, nachvollziehbare Transformationen, bessere Entscheidungen. Sie wollen wissen, wie gut Ihre Marketing-Daten aufgestellt sind? Wir helfen Ihnen gerne beim Aufbau robuster, vertrauensw\u00fcrdiger Datenpipelines.<\/p>\n<\/div>\n<p><p>\n        <a href=\"https:\/\/www.hopmann.com\/de\/academy\/dbt-datenmodellierung\/\">dbt Training<\/a>\n    <\/p>\n<\/p>\n<p><p>\n        <a href=\"https:\/\/www.hopmann.com\/de\/technologien\/dbt\/\">dbt Beratung<\/a>\n    <\/p>\n<\/p>\n<hr>\n<p><p>\n        Vorheriger Artikel    <\/p>\n<\/p>\n<p><p>\n        N\u00e4chster Artikel    <\/p>\n<\/p>\n<hr>\n<div>Neueste Artikel<\/div>\n<div>\n<\/div>\n<div>Kategorien<\/div>\n<div>\n<\/div>\n<p><!--more--><br \/>\n<!-- {\"type\":\"layout\",\"children\":[{\"type\":\"section\",\"props\":{\"animation\":\"slide-bottom-medium\",\"animation_delay\":\"50\",\"height\":\"page\",\"image_position\":\"center-center\",\"padding\":\"large\",\"padding_remove_top\":true,\"style\":\"default\",\"title_breakpoint\":\"xl\",\"title_position\":\"top-left\",\"title_rotation\":\"left\",\"vertical_align\":\"\",\"width\":\"large\"},\"children\":[{\"type\":\"row\",\"props\":{\"column_gap\":\"large\",\"layout\":\"2-3,1-3\",\"padding_remove_horizontal\":false,\"row_gap\":\"large\"},\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"width_large\":\"2-3\"},\"children\":[{\"type\":\"headline\",\"props\":{\"margin_remove_bottom\":true,\"title_element\":\"div\",\"title_style\":\"text-meta\"},\"source_extended\":{\"props\":{\"content\":{\"composed\":{\"value\":\"{{ sources.6b78 }}: {{ sources.46d0 }}\",\"sources\":{\"6b78\":{\"name\":\"field.datum\",\"query\":{\"name\":\"#parent\"},\"filters\":{\"search\":\"\",\"date\":\"d.m.Y\"}},\"46d0\":{\"name\":\"field.subline\",\"query\":{\"name\":\"#parent\"}},\"6ef0\":{\"name\":\"field.datum\",\"query\":{\"name\":\"#parent\"},\"filters\":{\"search\":\"\",\"date\":\"d.m.Y\"}}},\"conditions\":[]}}}}},{\"type\":\"headline\",\"props\":{\"margin\":\"small\",\"margin_remove_top\":false,\"title_element\":\"h1\",\"title_style\":\"h1\"},\"source_extended\":{\"props\":{\"content\":{\"name\":\"title\",\"query\":{\"name\":\"#parent\"}}}}},{\"type\":\"divider\",\"props\":{\"divider_element\":\"hr\",\"margin\":\"medium\",\"margin_remove_bottom\":true}},{\"type\":\"fragment\",\"props\":{\"margin\":\"remove-vertical\"},\"children\":[{\"type\":\"row\",\"props\":{\"css\":\".el-row {\\n\\tmargin-top: 8px;\\n    margin-bottom: 8px;\\n}\",\"layout\":\"1-2,1-2\",\"margin\":\"large\",\"yooessentials_access_conditions\":[],\"yooessentials_access_mode\":\"AND\"},\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"vertical_align\":\"middle\",\"width_default\":\"1-2\"},\"children\":[{\"type\":\"panel\",\"props\":{\"content_column_breakpoint\":\"m\",\"icon_width\":80,\"image_align\":\"left\",\"image_border\":\"circle\",\"image_grid_breakpoint\":\"\",\"image_grid_column_gap\":\"small\",\"image_grid_row_gap\":\"medium\",\"image_grid_width\":\"auto\",\"image_height\":40,\"image_svg_color\":\"emphasis\",\"image_vertical_align\":true,\"image_width\":40,\"link_style\":\"default\",\"link_text\":\"Read more\",\"margin\":\"\",\"meta_align\":\"below-title\",\"meta_element\":\"div\",\"meta_style\":\"text-meta\",\"title_align\":\"top\",\"title_element\":\"h3\",\"title_font_family\":\"tertiary\",\"title_grid_breakpoint\":\"m\",\"title_grid_width\":\"1-2\",\"title_hover_style\":\"reset\",\"title_style\":\"text-small\"},\"source_extended\":{\"props\":{\"image\":{\"name\":\"field.foto.url\",\"query\":{\"name\":\"#parent\"}},\"title\":{\"composed\":{\"value\":\"\",\"sources\":[],\"conditions\":[]}},\"content\":{\"composed\":{\"value\":\"{{ sources.5d02 }}, {{ sources.67e8 }}\",\"sources\":{\"5d02\":{\"name\":\"field.autor\",\"query\":{\"name\":\"#parent\"},\"filters\":{\"search\":\"\"}},\"67e8\":{\"name\":\"field.datum\",\"query\":{\"name\":\"#parent\"},\"filters\":{\"search\":\"\",\"date\":\"d.m.Y\"}}},\"conditions\":[]}},\"content_en_us\":{\"composed\":{\"value\":\"{{ sources.cce3 }} on {{ sources.4656 }}\",\"sources\":{\"4656\":{\"name\":\"date\",\"query\":{\"name\":\"blogs.singleBlog\"},\"filters\":{\"date\":\"\"}},\"cce3\":{\"filters\":{\"search\":\"\"},\"name\":\"field.autor\",\"query\":{\"name\":\"blogs.singleBlog\"}}},\"conditions\":[]}}}},\"name\":\"Verfasser\"}]},{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"vertical_align\":\"middle\",\"width_default\":\"1-2\"},\"children\":[{\"type\":\"yooessentials_social_sharing\",\"props\":{\"class\":\"social-sharing-blog\",\"grid\":\"horizontal\",\"grid_column_gap\":\"small\",\"grid_row_gap\":\"small\",\"image_svg_inline\":true,\"link_style\":\"link\",\"margin\":\"default\",\"text_align\":\"right\"},\"children\":[{\"type\":\"yooessentials_social_sharing_item\",\"props\":{\"link_target\":\"_blank\",\"link_target_height\":\"\",\"link_target_width\":\"\",\"network\":\"linkedin\"}}],\"name\":\"Teilen\"}]}]}]},{\"type\":\"divider\",\"props\":{\"divider_element\":\"hr\",\"margin\":\"medium\",\"margin_remove_top\":true}},{\"type\":\"html\",\"props\":{\"content\":\"\"},\"name\":\"--- \\\/\\\/ Content Start \\\/\\\/ ---\"},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p><strong>Verl\\u00e4ssliche Daten sind die Grundlage jeder Marketing-Entscheidung. In diesem Beitrag zeigen wir, wie Sie mit dbt-Tests und Freshness-Checks daf\\u00fcr sorgen, dass Ihre Dashboards jederzeit korrekt und aktuell sind.<\\\/strong><\\\/p>\\n\n\n<p>Im ersten Artikel unserer <a href=\\\"https:\\\/\\\/www.hopmann.com\\\/blog\\\/wie-dbt-ihren-marketing-data-stack-revolutioniert-teil-1\\\/\\\" title=\\\"dbt-Blogpost-Serie\\\">dbt-Blogpost-Serie<\\\/a> f\\u00fcr BI Manager, Data Analysts, Analytics Engineers &amp; Co. haben wir untersucht, wie dbt komplexe SQL-Workflows vereinfacht und damit die Verwaltung und Skalierung von Marketing-Daten-Pipelines erleichtert. In diesem Beitrag sehen wir uns an, wie dbt durch Tests und Aktualit\\u00e4ts-Checks Ihre Daten noch zuverl\\u00e4ssiger werden lassen.<\\\/p>\\n\n\n<p>Nichts untergr\\u00e4bt das Vertrauen von Marketing- und Sales-Teams schneller als fehlerhafte <a href=\\\"https:\\\/\\\/www.hopmann.com\\\/marketing-analytics\\\/marketing-dashboards-reports\\\/\\\">Dashboards<\\\/a> oder inkonsistente <a href=\\\"https:\\\/\\\/www.hopmann.com\\\/blog\\\/neue-kpis-webseitenmessung-ai-search\\\/\\\">KPIs<\\\/a>. Doch die Sicherstellung der Datenqualit\\u00e4t \\u00fcber mehrere Plattformen hinweg ist unglaublich schwierig, vor allem wenn man sich auf benutzerdefinierte SQL-Skripte und manuelle Pr\\u00fcfungen verl\\u00e4sst.<\\\/p>\\n\n\n<p>Mit <a href=\\\"https:\\\/\\\/www.hopmann.com\\\/technologien\\\/dbt\\\/\\\">dbt<\\\/a> k\\u00f6nnen Sie Datenqualit\\u00e4t auf ein neues Level heben und in Standardprozesse integrieren. Wir zeigen Ihnen, wie die Tests Teil Ihrer Transformations-Pipeline werden.<\\\/p>\",\"content_en_us\":\"\n\n<p><strong>Reliable data is the basis of every marketing decision. In this article, we show you how to use dbt tests and freshness checks to ensure that your dashboards are correct and up-to-date at all times.<\\\/strong><\\\/p>\\n\n\n<p>In the <a href=\\\"https:\\\/\\\/www.hopmann.com\\\/en\\\/blog\\\/how-dbt-can-revolutionize-your-marketing-data-stack-part-1\\\/\\\">first article of this series<\\\/a> forBI Managers, Data Analysts, Analytics Engineers &amp; Co., we explored how dbt simplifies complex SQL workflows, making marketing data pipelines easier to manage and scale. In this post, we\\u2019ll look at how dbt builds trust in your data through testing and freshness checks.<\\\/p>\\n\n\n<p>For marketing and advertising teams, nothing undermines trust faster than unreliable <a href=\\\"https:\\\/\\\/www.hopmann.com\\\/en\\\/marketing-analytics\\\/marketing-dashboards-reports\\\/\\\">dashboards<\\\/a> or inconsistent <a href=\\\"https:\\\/\\\/www.hopmann.com\\\/en\\\/blog\\\/new-kpis-website-measurement-ai-search\\\/\\\">KPIs<\\\/a>. Yet ensuring data quality across multiple platforms is incredibly difficult, especially when relying on custom SQL scripts and manual checks.<\\\/p>\\n\n\n<p>With <a href=\\\"https:\\\/\\\/www.hopmann.com\\\/en\\\/technologies\\\/dbt\\\/\\\">dbt<\\\/a>, you can take data quality to a new level and integrate it into standard processes. We will show you how the tests can become part of your transformation pipeline.<\\\/p>\",\"margin\":\"medium\",\"margin_remove_top\":true,\"text_style\":\"large\"},\"name\":\"Lead-Text\"},{\"type\":\"headline\",\"props\":{\"content\":\"dbt-Test: Wie Sie Ihre Datenqualit\\u00e4t automatisiert absichern\",\"content_en_us\":\"dbt test: How to successfully set it up\",\"margin\":\"default\",\"margin_remove_bottom\":false,\"title_element\":\"h2\",\"title_style\":\"h2\"}},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p>In dbt definieren Sie Datentests direkt in .yml-Dateien neben Ihren Modellen. Sie m\\u00fcssen kein benutzerdefiniertes SQL schreiben oder separate \\u00dcberwachungstools einrichten. Diese Tests pr\\u00fcfen auf allgemeine Probleme wie:<\\\/p>\\n\n\n<ul>\\n\n\n<li><strong>unique<\\\/strong>: stellt sicher, dass es keine Duplikate in Schl\\u00fcsselspalten gibt (z. B. Kampagnen-IDs)<\\\/li>\\n\n\n<li><strong>not_null<\\\/strong>: Stellt sicher, dass kritische Felder (wie Ausgaben oder Konversionen) immer ausgef\\u00fcllt sind<\\\/li>\\n\n\n<li><strong>accepted_values:<\\\/strong> \\u00dcberpr\\u00fcft, ob eine Spalte nur erwartete Eintr\\u00e4ge enth\\u00e4lt (z. B. channel = \\u201efacebook\\u201c, \\u201egoogle\\u201c)<\\\/li>\\n\n\n<li><strong>relationships:<\\\/strong> Erzwingt referentielle Integrit\\u00e4t \\u00fcber Tabellen hinweg (z.B. campaign_id existiert sowohl in der spend- als auch in der impressions-Tabelle)<\\\/li>\\n<\\\/ul>\\n\n\n<p>F\\u00fcr komplexere Validierungen integriert dbt das Paket <strong>dbt_utils<\\\/strong>, eine Bibliothek mit wiederverwendbaren Test-Makros. Dies ist besonders leistungsf\\u00e4hig in der <a href=\\\"https:\\\/\\\/www.hopmann.com\\\/marketing-analytics\\\/\\\">Marketing-Analytik<\\\/a>, wo mehrere Plattformen in einen einzigen Funnel oder ein Attributionsmodell einflie\\u00dfen.<\\\/p>\",\"content_en_us\":\"\n\n<p>In dbt, you define data tests directly in .yml files next to your models. No need to write custom SQL or set up separate monitoring tools. These tests check for common issues like:<\\\/p>\\n\n\n<ul>\\n\n\n<li><strong>unique:<\\\/strong> Ensures no duplicates in key columns (e.g., campaign IDs)<\\\/li>\\n\n\n<li><strong>not_null:<\\\/strong> Makes sure critical fields (like spend or conversions) are always populated<\\\/li>\\n\n\n<li><strong>accepted_values<\\\/strong>: Validates that a column contains only expected entries (e.g., channel = \\u201cfacebook\\u201d, \\u201cgoogle\\u201d)<\\\/li>\\n\n\n<li><strong>relationships:<\\\/strong> Enforces referential integrity across tables (e.g., campaign_id exists in both spend and impressions tables)<\\\/li>\\n<\\\/ul>\\n\n\n<p>For more complex validation, dbt integrates with the dbt_utils package, which is a library of reusable test macros. This is especially powerful in <a href=\\\"https:\\\/\\\/www.hopmann.com\\\/en\\\/marketing-analytics\\\/\\\">marketing analytics<\\\/a>, where multiple platforms feed into a single funnel or attribution model.<\\\/p>\\n\n\n<p>Finally, dbt can also track how \\u201cfresh\\u201d your data sources are. By setting freshness expectations in sources.yml, you can for example flag when a source table hasn\\u2019t updated (e.g., GA4 data missing for the last 48 hours) and trigger alerts if pipelines break or campaign data is delayed. This ensures that reporting and client presentations are not disrupted by unexpected data gaps.<\\\/p>\",\"margin\":\"medium\",\"margin_remove_top\":true,\"text_style\":\"large\"}},{\"type\":\"headline\",\"props\":{\"content\":\"Aktualit\\u00e4t pr\\u00fcfen mit Freshness-Checks\",\"content_en_us\":\"Use freshness checks to check that everything is up to date\",\"margin\":\"default\",\"margin_remove_bottom\":false,\"title_element\":\"h2\",\"title_style\":\"h2\"}},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p>Neben der <strong>Datenqualit\\u00e4t<\\\/strong> ist auch die <strong>Datenaktualit\\u00e4t<\\\/strong> entscheidend, beispielsweise wenn Dashboards regelm\\u00e4\\u00dfig in kurzen Abst\\u00e4nden aktualisiert werden oder in Kundenterminen aktuelle Ergebnisse erwartet werden.<\\\/p>\\n\n\n<p>dbt kann monitoren, wie \\u201efrisch\\u201c Ihre Datenquellen sind. Durch das Festlegen von Aktualit\\u00e4tserwartungen in der Datei <strong>sources.yml<\\\/strong> k\\u00f6nnen Sie zum Beispiel kennzeichnen, wenn eine Quellentabelle nicht aktualisiert wurde (z. B. <a href=\\\"https:\\\/\\\/analytics.google.com\\\/\\\">GA4-Daten<\\\/a>, die in den letzten 48 Stunden fehlten) und Warnungen ausl\\u00f6sen, wenn Pipelines unterbrochen werden oder Kampagnendaten verz\\u00f6gert werden. So wird sichergestellt, dass Reportings nicht durch unerwartete Datenl\\u00fccken unterbrochen werden.<\\\/p>\",\"content_en_us\":\"\n\n<p>In addition to <strong>data quality<\\\/strong>, <strong>data timeliness<\\\/strong> is also crucial, for example when dashboards are regularly updated at short intervals or current results are expected in customer meetings.<\\\/p>\\n\n\n<p>dbt can track how \\u201cfresh\\u201d your data sources are. By setting freshness expectations in <strong>sources.yml<\\\/strong>, you can for example flag when a source table hasn\\u2019t updated (e.g., <a href=\\\"https:\\\/\\\/analytics.google.com\\\/\\\">GA4 data<\\\/a> missing for the last 48 hours) and trigger alerts if pipelines break or campaign data is delayed. This ensures that reporting is not disrupted by unexpected data gaps.<\\\/p>\",\"margin\":\"medium\",\"margin_remove_top\":true,\"text_style\":\"large\"}},{\"type\":\"image\",\"props\":{\"image\":\"wp-content\\\/uploads\\\/dbt_freshness-tests_better-data-quality-Hopmann.png\",\"image_alt\":\"dbt_freshness-tests_better-data-quality-Hopmann\",\"image_svg_color\":\"emphasis\",\"image_width\":900,\"margin\":\"small\",\"margin_remove_bottom\":false,\"margin_remove_top\":false}},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p>Hier ein beispielhafter Code:<\\\/p>\",\"content_en_us\":\"\n\n<p>Here is an example code:<\\\/p>\",\"margin\":\"medium\",\"margin_remove_bottom\":true,\"margin_remove_top\":false,\"text_style\":\"large\"}},{\"type\":\"code\",\"props\":{\"content\":\"sources:\\n  - name: data_stack_sources\\n    database: db\\n    schema: raw\\n    tables:\\n      - name: facebook_ads\\n        freshness:\\n          warn_after: { count: 24, period: hour }\\n          error_after: { count: 48, period: hour }\\n        loaded_at_field: updated_at\\n        tests:\\n          - dbt_utils.unique_combination_of_columns:\\n        combination_of_columns:\\n-\\tcampaign_id\\n    -  date\\n          - not_null:\\n              column_name: campaign_id\"}},{\"type\":\"headline\",\"props\":{\"content\":\"Fazit: Mit dbt k\\u00f6nnen Sie Vertrauen in Ihre Marketing-Daten sichern\",\"content_en_us\":\"Conclusion: With dbt you can ensure trust in your marketing data\",\"margin\":\"default\",\"margin_remove_bottom\":false,\"title_element\":\"h2\",\"title_style\":\"h2\"}},{\"type\":\"text\",\"props\":{\"column_breakpoint\":\"m\",\"content\":\"\n\n<p>Marketing- und Vertriebsteams brauchen verl\\u00e4ssliche KPIs. Mit den integrierten Test- und Aktualit\\u00e4tsfunktionen von dbt schaffen Sie die Grundlage daf\\u00fcr: automatisiert und skalierbar.<\\\/p>\\n\n\n<p>Als Boutique-Beratung mit fast 20 Jahren Erfahrung im Bereich Marketing Analytics unterst\\u00fctzen wir unsere Kund:innen genau dabei: saubere Daten, nachvollziehbare Transformationen, bessere Entscheidungen. Sie wollen wissen, wie gut Ihre Marketing-Daten aufgestellt sind? Wir helfen Ihnen gerne beim Aufbau robuster, vertrauensw\\u00fcrdiger Datenpipelines.<\\\/p>\",\"content_en_us\":\"\n\n<p>Marketing and sales teams need reliable KPIs. With dbt's integrated test and update functions, you create the basis for this: automated and scalable.<\\\/p>\\n\n\n<p>As a boutique consultancy with almost 20 years of experience in marketing analytics, we support our clients with exactly that: clean data, comprehensible transformations, better decisions. Do you want to know how well your marketing data is set up? We are happy to help you build robust, trustworthy data pipelines.<\\\/p>\",\"margin\":\"medium\",\"margin_remove_top\":true,\"text_style\":\"large\"}},{\"type\":\"button\",\"props\":{\"grid_column_gap\":\"small\",\"grid_row_gap\":\"small\",\"margin\":\"default\"},\"children\":[{\"type\":\"button_item\",\"props\":{\"button_style\":\"default\",\"content\":\"dbt Training\",\"content_en_us\":\"dbt Training\",\"dialog_layout\":\"modal\",\"dialog_offcanvas_flip\":true,\"icon_align\":\"left\",\"link\":\"https:\\\/\\\/www.hopmann.com\\\/de\\\/academy\\\/dbt-datenmodellierung\\\/\",\"link_en_us\":\"https:\\\/\\\/www.hopmann.com\\\/en\\\/academy\\\/dbt-data-modeling\\\/\",\"link_title\":\"dbt Training\",\"link_title_en_us\":\"dbt Training\"}}]},{\"type\":\"button\",\"props\":{\"grid_column_gap\":\"small\",\"grid_row_gap\":\"small\",\"margin\":\"default\"},\"children\":[{\"type\":\"button_item\",\"props\":{\"button_style\":\"default\",\"content\":\"dbt Beratung\",\"content_en_us\":\"dbt Consulting\",\"dialog_layout\":\"modal\",\"dialog_offcanvas_flip\":true,\"icon_align\":\"left\",\"link\":\"https:\\\/\\\/www.hopmann.com\\\/de\\\/technologien\\\/dbt\\\/\",\"link_en_us\":\"https:\\\/\\\/www.hopmann.com\\\/en\\\/technologies\\\/dbt\\\/\",\"link_title\":\"dbt Beratung\",\"link_title_en_us\":\"dbt Consulting\"}}]},{\"type\":\"html\",\"props\":{\"content\":\"\"},\"name\":\"--- \\\/\\\/ Content Ende \\\/\\\/ ---\"},{\"type\":\"fragment\",\"props\":{\"margin\":\"default\"},\"children\":[{\"type\":\"row\",\"props\":{\"css\":\".el-row {\\n\\tmargin-top: 70px;\\n}\",\"margin_remove_bottom\":true},\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\"},\"children\":[{\"type\":\"divider\",\"props\":{\"divider_element\":\"hr\"}}]}]},{\"type\":\"row\",\"props\":{\"class\":\"blog-pager\",\"layout\":\"1-2,1-2\",\"margin\":\"small\"},\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"width_default\":\"1-2\",\"width_medium\":\"1-2\"},\"children\":[{\"type\":\"button\",\"props\":{\"class\":\"blog-pager\",\"grid_column_gap\":\"small\",\"grid_row_gap\":\"small\",\"margin\":\"remove-vertical\"},\"children\":[{\"type\":\"button_item\",\"props\":{\"button_style\":\"\",\"content\":\"Vorheriger Artikel\",\"content_en_us\":\"Previous article\",\"dialog_layout\":\"modal\",\"dialog_offcanvas_flip\":true,\"icon\":\"chevron-left\",\"icon_align\":\"left\"},\"source\":{\"query\":{\"name\":\"blogs.singlePreviousBlog\"},\"props\":{\"link\":{\"filters\":{\"search\":\"\"},\"name\":\"link\"}}}}]}]},{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\",\"width_default\":\"1-2\",\"width_medium\":\"1-2\"},\"children\":[{\"type\":\"button\",\"props\":{\"grid_column_gap\":\"small\",\"grid_row_gap\":\"small\",\"margin\":\"remove-vertical\",\"text_align\":\"right\"},\"children\":[{\"type\":\"button_item\",\"props\":{\"button_style\":\"\",\"content\":\"N\\u00e4chster Artikel\",\"content_en_us\":\"Next article\",\"dialog_layout\":\"modal\",\"dialog_offcanvas_flip\":true,\"icon\":\"chevron-right\",\"icon_align\":\"right\"},\"source\":{\"query\":{\"name\":\"blogs.singleNextBlog\"},\"props\":{\"link\":{\"filters\":{\"search\":\"\"},\"name\":\"link\"}}}}]}]}]},{\"type\":\"row\",\"props\":{\"margin_remove_top\":true},\"children\":[{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky_breakpoint\":\"m\"},\"children\":[{\"type\":\"divider\",\"props\":{\"divider_element\":\"hr\",\"margin\":\"medium\",\"margin_remove_top\":true}}]}]}]}]},{\"type\":\"column\",\"props\":{\"image_position\":\"center-center\",\"position_sticky\":\"column\",\"position_sticky_breakpoint\":\"m\",\"position_sticky_offset\":\"120\",\"width_large\":\"1-3\"},\"children\":[{\"type\":\"headline\",\"props\":{\"block_align\":\"right\",\"block_align_breakpoint\":\"l\",\"content\":\"Neueste Artikel\",\"content_en_us\":\"Latest articles\",\"margin_remove_bottom\":false,\"maxwidth\":\"medium\",\"maxwidth_breakpoint\":\"l\",\"title_element\":\"div\",\"title_style\":\"h6\"}},{\"type\":\"grid\",\"props\":{\"block_align\":\"right\",\"block_align_breakpoint\":\"l\",\"class\":\"articles-sm\",\"content\":\"Neueste Artikel\",\"content_column_breakpoint\":\"m\",\"filter_align\":\"left\",\"filter_all\":true,\"filter_grid_breakpoint\":\"m\",\"filter_grid_width\":\"auto\",\"filter_position\":\"top\",\"filter_style\":\"tab\",\"grid_default\":\"1\",\"grid_divider\":true,\"grid_medium\":\"\",\"grid_row_gap\":\"small\",\"icon_width\":80,\"image_align\":\"top\",\"image_grid_breakpoint\":\"\",\"image_grid_width\":\"auto\",\"image_svg_color\":\"emphasis\",\"image_vertical_align\":true,\"item_animation\":true,\"lightbox_bg_close\":true,\"link_style\":\"default\",\"link_text\":\"\",\"margin\":\"default\",\"maxwidth\":\"medium\",\"maxwidth_breakpoint\":\"l\",\"meta_align\":\"above-title\",\"meta_element\":\"div\",\"meta_style\":\"text-small\",\"panel_expand\":false,\"panel_image_no_padding\":true,\"panel_link\":true,\"show_content\":true,\"show_hover_image\":true,\"show_hover_video\":true,\"show_image\":true,\"show_link\":true,\"show_meta\":true,\"show_title\":true,\"show_video\":true,\"title_align\":\"top\",\"title_element\":\"div\",\"title_font_family\":\"tertiary\",\"title_grid_breakpoint\":\"m\",\"title_grid_width\":\"1-2\",\"title_hover_style\":\"reset\",\"title_margin\":\"remove\"},\"children\":[{\"type\":\"grid_item\",\"props\":{\"yooessentials_access_conditions\":[],\"yooessentials_access_mode\":\"AND\"},\"source\":{\"query\":{\"name\":\"blogs.customBlogs\",\"arguments\":{\"users\":[],\"users_operator\":\"IN\",\"offset\":0,\"limit\":5,\"order\":\"date\",\"order_direction\":\"DESC\",\"terms\":[],\"blog_kategorie_operator\":\"IN\"}},\"props\":{\"title\":{\"filters\":{\"search\":\"\"},\"name\":\"title\"},\"meta\":{\"filters\":{\"search\":\"\"},\"name\":\"field.subline\"},\"link\":{\"filters\":{\"search\":\"\"},\"name\":\"link\"}}}}]},{\"type\":\"headline\",\"props\":{\"block_align\":\"right\",\"block_align_breakpoint\":\"l\",\"content\":\"Kategorien\",\"content_en_us\":\"Categories\",\"margin\":\"large\",\"margin_remove_bottom\":true,\"maxwidth\":\"medium\",\"maxwidth_breakpoint\":\"l\",\"title_element\":\"div\",\"title_style\":\"h6\",\"yooessentials_access_conditions\":[{\"type\":\"yooessentials_access_dynamic\",\"id\":\"ci_AD8A0F\",\"props\":{\"condition\":\"!\",\"reversed\":true},\"source_extended\":{\"props\":{\"value\":{\"name\":\"blog_kategorieString\",\"query\":{\"name\":\"#parent\"}}}}}],\"yooessentials_access_mode\":\"AND\"}},{\"type\":\"list\",\"props\":{\"block_align\":\"right\",\"block_align_breakpoint\":\"l\",\"class\":\"tag-list\",\"column_breakpoint\":\"m\",\"content\":\"Kategorien\",\"image_align\":\"left\",\"image_svg_color\":\"emphasis\",\"image_vertical_align\":true,\"list_element\":\"ul\",\"list_horizontal_separator\":\"\",\"list_type\":\"horizontal\",\"margin\":\"small\",\"maxwidth\":\"medium\",\"maxwidth_breakpoint\":\"l\",\"show_image\":true,\"show_link\":true},\"children\":[{\"type\":\"list_item\",\"source\":{\"query\":{\"name\":\"blogs.singleBlog\",\"field\":{\"name\":\"blog_kategories\",\"directives\":[{\"name\":\"slice\",\"arguments\":{\"offset\":0}}]}},\"props\":{\"content\":{\"filters\":{\"search\":\"\"},\"name\":\"name\"},\"link\":{\"filters\":{\"search\":\"\"},\"name\":\"link\"}}}}]}]}]}],\"name\":\"Blog V6\",\"source\":{\"query\":{\"name\":\"blogs.singleBlog\"}}}],\"version\":\"4.5.28\",\"yooessentialsVersion\":\"2.4.7\"} --><\/p>\n","protected":false},"featured_media":10619,"template":"","blog-kategorie":[57,45],"class_list":["post-10786","blog","type-blog","status-publish","has-post-thumbnail","hentry","blog-kategorie-data-engineering","blog-kategorie-tutorials"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.hopmann.com\/en\/wp-json\/wp\/v2\/blog\/10786","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hopmann.com\/en\/wp-json\/wp\/v2\/blog"}],"about":[{"href":"https:\/\/www.hopmann.com\/en\/wp-json\/wp\/v2\/types\/blog"}],"version-history":[{"count":1,"href":"https:\/\/www.hopmann.com\/en\/wp-json\/wp\/v2\/blog\/10786\/revisions"}],"predecessor-version":[{"id":12221,"href":"https:\/\/www.hopmann.com\/en\/wp-json\/wp\/v2\/blog\/10786\/revisions\/12221"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hopmann.com\/en\/wp-json\/wp\/v2\/media\/10619"}],"wp:attachment":[{"href":"https:\/\/www.hopmann.com\/en\/wp-json\/wp\/v2\/media?parent=10786"}],"wp:term":[{"taxonomy":"blog-kategorie","embeddable":true,"href":"https:\/\/www.hopmann.com\/en\/wp-json\/wp\/v2\/blog-kategorie?post=10786"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}