Skip to content

Commit

Permalink
Merge pull request #7 from lch88/feature/fix-subs-model-type-issue-in…
Browse files Browse the repository at this point in the history
…-bigquery

fix: add missing type-casting on event_date field
  • Loading branch information
fivetran-joemarkiewicz authored Feb 13, 2023
2 parents 85717fa + ef38f88 commit dbd7c7f
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 10 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# dbt_apple_store_source v0.2.1

## Bug Fixes
[PR #7](https://github.com/fivetran/dbt_apple_store_source/pull/7) includes the following breaking changes:
- Column `date_day` of `stg_apple_store__sales_subscription_events` model is now casted to `date` type. This change might affect downstream models.

## Contributors
- [@lch88](https://github.com/lch88) ([#7](https://github.com/fivetran/dbt_apple_store_source/pull/7))

# dbt_apple_store_source v0.2.0

## 🚨 Breaking Changes 🚨:
Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
<a alt="License"
href="https://github.com/fivetran/dbt_apple_store_source/blob/main/LICENSE">
<img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg" /></a>
<a alt="Fivetran-Release"
href="https://fivetran.com/docs/getting-started/core-concepts#releasephases">
<img src="https://img.shields.io/badge/Fivetran Release Phase-_Beta-orange.svg" /></a>
<a alt="dbt-core">
<img src="https://img.shields.io/badge/dbt_Core™_version->=1.3.0_<2.0.0-orange.svg" /></a>
<a alt="Maintained?">
Expand Down
2 changes: 1 addition & 1 deletion dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'apple_store_source'
version: '0.2.0'
version: '0.2.1'
config-version: 2
require-dbt-version: [">=1.3.0", "<2.0.0"]
vars:
Expand Down
2 changes: 1 addition & 1 deletion docs/catalog.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/manifest.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/run_results.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion integration_tests/dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
config-version: 2

name: 'apple_store_source_integration_tests'
version: '0.2.0'
version: '0.2.1'

profile: 'integration_tests'

Expand Down
2 changes: 1 addition & 1 deletion models/stg_apple_store__sales_subscription_events.sql
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ fields as (
final as (

select
event_date as date_day,
cast(event_date as date) as date_day,
account_number as account_id,
app_name,
subscription_name,
Expand Down

0 comments on commit dbd7c7f

Please sign in to comment.