Skip to content

Commit

Permalink
databricks
Browse files Browse the repository at this point in the history
  • Loading branch information
fivetran-jamie committed Mar 15, 2023
1 parent 2a086e0 commit c9b8121
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions integration_tests/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ seeds:
shopify_tax_line_data:
+column_types:
price: float
rate: float
shopify_price_rule_data:
+column_types:
prerequisite_subtotal_range: float
Expand Down Expand Up @@ -166,8 +167,4 @@ seeds:
markup: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
price: float
original_shop_markup: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
original_shop_price: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
shopify_tax_line_data:
+column_types:
price: float
rate: float
original_shop_price: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
2 changes: 1 addition & 1 deletion models/src_shopify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
sources:
- name: shopify # This source will only be used if you are using a single Shopify source connector. If multiple sources are being unioned, their tables will be directly referenced via adatper.get_relation
schema: "{{ var('shopify_schema', 'shopify') }}"
database: "{% if target.type != 'spark'%}{{ var('shopify_database', target.database) }}{% endif %}"
database: "{% if target.type not in ['spark', 'databricks'] %}{{ var('shopify_database', target.database) }}{% endif %}"
tables:
- name: order
description: Each record represents an order in Shopify.
Expand Down

0 comments on commit c9b8121

Please sign in to comment.