Skip to content

Add DuckDB support to CI test scenarios#183

Open
fivetran-data-model-bot wants to merge 2 commits into
mainfrom
MagicBot/test-duckdb
Open

Add DuckDB support to CI test scenarios#183
fivetran-data-model-bot wants to merge 2 commits into
mainfrom
MagicBot/test-duckdb

Conversation

@fivetran-data-model-bot

Copy link
Copy Markdown
Contributor

Summary

  • Adds include_duckdb: true to integration_tests/ci/test_scenarios.yml

fivetran-catfritz and others added 2 commits July 16, 2026 12:45
…d linkedin dependencies

- Add duckdb__get_url_tags_query macro to fix 'FROM unnested' CTE error in facebook_ads__url_tags
  (default macro references an unnested CTE that only exists in the BigQuery implementation)
- Add duckdb__date_from_month_string macro to replace to_date() with cast(...as date)
  (to_date() is not available in DuckDB; affects stg_linkedin_ads__monthly_ad_analytics_by_*)
- Configure dispatch search order so ad_reporting overrides facebook_ads and linkedin macros
- Fix transform_sql arithmetic for linkedin passthrough metrics to use explicit bigint casts
  (TEXT + TEXT fails in DuckDB when source tables fall back to null-typed empty stubs)
- Fix single-quote escaping in int_ad_reporting__country_mapping.sql for DuckDB
  (DuckDB requires '' not \' to escape single quotes; affects Côte d'Ivoire country name)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants