github fivetran/dbt_shopify v1.4.0-a1
v1.4.0-a1 dbt_shopify

pre-release13 hours ago

PR #141 includes the following updates:

Schema/Data Changes

11 total changes • 11 possible breaking changes

Data Model(s) Change type Old New Notes
shopify_<gql>__customers
shopify_<gql>__orders
shopify_<gql>__products
shopify_<gql>__inventory_levels
shopify_<gql>__daily_shop
shopify_<gql>__collection_metafields
shopify_<gql>__customer_metafields
shopify_<gql>__order_metafields
shopify_<gql>__product_metafields
shopify_<gql>__product_variant_metafields
shopify_<gql>__shop_metafields
Metafield columns Unlimited 50 (configurable) The 50 most commonly used metafields are pivoted into columns by default. You can adjust this number via the shopify_max_metafields variable.

Feature Updates

  • Introduces the shopify_max_metafields variable to configure the number of metafields pivoted into columns. Configure it as follows (see README for details):
vars:
  shopify_max_metafields: 200 # (Any positive integer) Default is 50

Bug Fixes

  • Deduplicates metafields with identical slugs (for example, my-first-metafield and my_first_metafield) to prevent ambiguous column errors.
  • Ensures the stg_shopify_gql__shop.enabled_presentment_currencies and stg_shopify_gql__transaction.receipt fields are strings.
  • Applies the following warehouse-dependent limits on the number of metafields that are pivoted into columns, regardless of the value of shopify_max_metafields. Metafields are included based on their prevalence in your Shopify METAFIELD table:
    • BigQuery: 10,000
    • Redshift: 1,600
    • Postgres: 1,600
    • Databricks: 32,768
    • Snowflake: No limit

Under the Hood

  • Adds data validation tests for metafield models.
  • Adjusts metafield seed data to test for duplicate slugs/column names.

Full Changelog: v1.3.1...v1.4.0-a1

Don't miss a new dbt_shopify release

NewReleases is sending notifications on new releases.