Skip to content

Commit

Permalink
Merge pull request #38 from fivetran/bug/update-seed-files-to-match-t…
Browse files Browse the repository at this point in the history
…ransformation-package

Update seed files
  • Loading branch information
fivetran-avinash authored May 15, 2023
2 parents 56d1de1 + ef08c7d commit 825121a
Show file tree
Hide file tree
Showing 14 changed files with 27 additions and 20 deletions.
2 changes: 1 addition & 1 deletion docs/catalog.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions 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.

1 change: 1 addition & 0 deletions integration_tests/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
target/
dbt_modules/
logs/
env/
10 changes: 5 additions & 5 deletions integration_tests/ci/sample.profiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ integration_tests:
pass: "{{ env_var('CI_REDSHIFT_DBT_PASS') }}"
dbname: "{{ env_var('CI_REDSHIFT_DBT_DBNAME') }}"
port: 5439
schema: jira_source_integration_tests
schema: jira_source_integrations_tests
threads: 8
bigquery:
type: bigquery
method: service-account-json
project: 'dbt-package-testing'
schema: jira_source_integration_tests
schema: jira_source_integrations_tests
threads: 8
keyfile_json: "{{ env_var('GCLOUD_SERVICE_KEY') | as_native }}"
snowflake:
Expand All @@ -33,7 +33,7 @@ integration_tests:
role: "{{ env_var('CI_SNOWFLAKE_DBT_ROLE') }}"
database: "{{ env_var('CI_SNOWFLAKE_DBT_DATABASE') }}"
warehouse: "{{ env_var('CI_SNOWFLAKE_DBT_WAREHOUSE') }}"
schema: jira_source_integration_tests
schema: jira_source_integrations_tests
threads: 8
postgres:
type: postgres
Expand All @@ -42,13 +42,13 @@ integration_tests:
pass: "{{ env_var('CI_POSTGRES_DBT_PASS') }}"
dbname: "{{ env_var('CI_POSTGRES_DBT_DBNAME') }}"
port: 5432
schema: jira_source_integration_tests
schema: jira_source_integrations_tests
threads: 8
databricks:
catalog: null
host: "{{ env_var('CI_DATABRICKS_DBT_HOST') }}"
http_path: "{{ env_var('CI_DATABRICKS_DBT_HTTP_PATH') }}"
schema: jira_source_integration_tests
schema: jira_source_integrations_tests
threads: 2
token: "{{ env_var('CI_DATABRICKS_DBT_TOKEN') }}"
type: databricks
2 changes: 0 additions & 2 deletions integration_tests/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ vars:
jira_user_identifier: "user"
jira_version_identifier: "version"

jira_schema: jira_source_integration_tests

seeds:
jira_source_integration_tests:
+column_types:
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dbt-snowflake>=1.3.0,<2.0.0
dbt-bigquery>=1.3.0,<2.0.0
dbt-redshift>=1.3.0,<2.0.0
dbt-redshift>=1.3.0,<1.5.0
dbt-postgres>=1.3.0,<2.0.0
dbt-spark>=1.3.0,<2.0.0
dbt-spark[PyHive]>=1.3.0,<2.0.0
Expand Down
1 change: 1 addition & 0 deletions integration_tests/seeds/component.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ id,_fivetran_synced,description,name,project_id
10004,2020-11-23 12:21:02.159,,Component 5,10001
10003,2020-11-23 12:21:02.159,,Component 4,10001
10002,2020-11-23 12:21:02.158,,Component 3,10001
10019,2020-11-23 12:21:02.157,,Component 2,10001
2 changes: 2 additions & 0 deletions integration_tests/seeds/field.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ id,_fivetran_synced,is_array,is_custom,name
timeoriginalestimate,2020-11-23 22:20:39.685,false,false,Original Estimate
creator,2020-11-23 22:20:39.711,false,false,Creator
issuerestriction,2020-11-23 22:20:39.643,false,false,Restrict to
components,2020-11-23 22:20:40.643,false,false,Components
summary,2020-11-23 22:20:41.553,false,false,Summary
10 changes: 6 additions & 4 deletions integration_tests/seeds/field_option.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
id,_fivetran_synced,name,parent_id
10104,2020-11-23 12:21:00.979,opt 2,10005
10016,2020-11-17 12:20:52.552,To Do,10005
10106,2020-11-17 12:20:52.227,opt 4,10005
id,_fivetran_synced,name
10104,2020-11-23 12:21:00.979,opt 2
10016,2020-11-17 12:20:52.552,To Do
10106,2020-11-17 12:20:52.227,opt 4
10019,2020-11-19 12:20:53.110,Impediment
10026,2020-11-20 12:20:54.221,This is the summary of the issue.
6 changes: 3 additions & 3 deletions integration_tests/seeds/issue.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
id,_fivetran_deleted,_fivetran_synced,_original_estimate,_remaining_estimate,_time_spent,assignee,created,creator,description,due_date,environment,issue_type,key,last_viewed,original_estimate,parent_id,priority,project,remaining_estimate,reporter,resolution,resolved,status,status_category_changed,summary,time_spent,updated,work_ratio
10011,false,2020-11-06 22:23:38.429,,,,,2020-04-01 08:33:57.978,5c3326c24b248c315badf3ee,"Yes, this is an issue to test permissions",,,10103,TP-8,,,,3,10001,,5c3326c24b248c315badf3ee,,,3,2020-04-01 08:34:01.615,We want to test permissions,,2020-05-29 11:33:52.771,-1.0
10015,false,2020-11-06 22:23:41.397,,,,,2020-06-11 07:38:02.653,5ed0edbe2999b60c23255b4f,,,,10103,TP-12,,,,5,10001,,5ed0edbe2999b60c23255b4f,,,10003,2020-06-11 07:38:02.868,Part of test epic,,2020-06-11 07:38:02.653,-1.0
10018,false,2020-11-12 12:20:50.368,,,,,2020-11-10 19:11:45.296,557058:a9572f6a-3041-435a-96ed-5286e3811b33,,,,10103,TCP-1,2020-11-10 19:11:45.535,,,3,10005,,557058:a9572f6a-3041-435a-96ed-5286e3811b33,,,10003,2020-11-10 19:11:45.521,this is a story,,2020-11-10 19:11:45.296,-1.0
10011,FALSE,2020-11-06 22:23:38,,,,,2020-04-01 08:33:58,5c3326c24b248c315badf3ee,"Yes, this is an issue to test permissions",,,10103,TP-8,,,,3,10001,,5c3326c24b248c315badf3ee,,2020-05-29 11:33:53,3,2020-04-01 08:34:02,We want to test permissions,,2020-05-29 11:33:53,-1
10015,FALSE,2020-11-06 22:23:41,,,,,2020-06-11 07:38:03,5ed0edbe2999b60c23255b4f,,,,10103,TP-12,,,,5,10001,,5ed0edbe2999b60c23255b4f,,2020-06-11 07:38:03,10003,2020-06-11 07:38:03,Part of test epic,,2020-06-11 07:38:03,-1
10018,FALSE,2020-11-12 12:20:50,,,,,2020-11-10 19:11:45,557058:a9572f6a-3041-435a-96ed-5286e3811b33,,,,10103,TCP-1,2020-11-10 19:11:46,,,3,10005,,557058:a9572f6a-3041-435a-96ed-5286e3811b33,,2020-11-28 19:11:45,10003,2020-11-28 19:11:46,this is a story,,2020-11-28 19:11:45,-1
2 changes: 2 additions & 0 deletions integration_tests/seeds/issue_field_history.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ field_id,issue_id,time,_fivetran_synced,value
created,10027,2020-11-10 19:19:41.472,2020-11-12 12:20:53.478,2020-11-10T19:19:41.472Z
customfield_10104,10027,2020-11-10 19:19:41.472,2020-11-12 12:20:53.472,3.0
summary,10027,2020-11-10 19:19:41.472,2020-11-12 12:20:53.500,"As a developer, I'd like to update story status during the sprint >> Click the Active sprints link at the top right of the screen to go to the Active sprints where the current Sprint's items can be updated"
components,10018,2020-11-10 19:19:41.472,2020-11-19 12:20:53.500,10019
summary,10018,2020-11-10 19:19:41.472,2020-11-19 12:20:53.500,10026
1 change: 1 addition & 0 deletions integration_tests/seeds/issue_multiselect_history.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ _fivetran_id,time,_fivetran_synced,field_id,issue_id,value
w4UiT+hPMxJp3RhL/YFJm3uWL5U=,2020-11-10 19:19:41.472,2020-11-12 12:20:53.506,subtasks,10027,0
4pVgGn0qSqR2hCmMdo4wWHXmgew=,2020-11-10 19:19:41.472,2020-11-12 12:20:53.479,customfield_10021,10027,0
/zrY8m6q0VMW6ia1jGIerXqLIgQ=,2020-11-10 19:19:41.472,2020-11-12 12:20:53.479,customfield_10020,10027,0
3p3gGn0qSqR2hCmMdo4wWHXa32m=,2020-11-10 19:19:41.472,2020-11-12 12:20:53.479,components,10027,0

0 comments on commit 825121a

Please sign in to comment.