Skip to content

Commit

Permalink
adding integration test for alias column
Browse files Browse the repository at this point in the history
  • Loading branch information
cakkinep committed Apr 11, 2024
1 parent 0460d59 commit 91e80c7
Showing 1 changed file with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ sources:
data_type: varchar(64)
- name: email
data_type: varchar(64)
- name: email
alias: email_alias
data_type: varchar(64)
tests: &equal-to-the-people
- dbt_utils.equality:
compare_model: ref('people')
Expand All @@ -28,6 +31,7 @@ sources:
- first_name
- last_name
- email
- email_alias

- name: people_csv_partitioned
external:
Expand Down Expand Up @@ -93,14 +97,6 @@ sources:
quote: true
data_type: varchar(64)
tests: *same-rowcount

- name: people_csv_needing_alias_column
external: *csv-people
columns:
- name: SELECT
alias: SELECT_COL
data_type: varchar(64)
tests: *same-rowcount

- name: people_json_unpartitioned_no_columns
external: *json-people
Expand Down

0 comments on commit 91e80c7

Please sign in to comment.