Skip to content

Commit

Permalink
Source Mixpanel: SAT added incremental testing for "engage" stream (#…
Browse files Browse the repository at this point in the history
…17300)

Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
  • Loading branch information
grubberr authored Sep 28, 2022
1 parent fe2238f commit e8736ee
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 80 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ tests:
timeout_seconds: 3600
incremental:
- config_path: "secrets/config.json"
configured_catalog_path: "integration_tests/configured_catalog_incremental.json"
configured_catalog_path: "integration_tests/configured_catalog.json"
future_state_path: "integration_tests/abnormal_state.json"
cursor_paths:
cohorts: ["created"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,8 @@
},
"cohort_members": {
"last_seen": "2030-01-01T00:00:00"
},
"engage": {
"last_seen": "2030-01-01T00:00:00"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,25 @@
"name": "funnels",
"json_schema": {},
"supported_sync_modes": ["full_refresh", "incremental"],
"default_cursor_field": ["date"]
"source_defined_cursor": true,
"default_cursor_field": ["date"],
"source_defined_primary_key": [["funnel_id"], ["date"]]
},
"sync_mode": "full_refresh",
"destination_sync_mode": "overwrite"
"sync_mode": "incremental",
"destination_sync_mode": "append"
},
{
"stream": {
"name": "engage",
"json_schema": {},
"supported_sync_modes": ["full_refresh"]
"supported_sync_modes": ["full_refresh", "incremental"],
"source_defined_cursor": false,
"default_cursor_field": null,
"source_defined_primary_key": [["distinct_id"]]
},
"sync_mode": "full_refresh",
"destination_sync_mode": "overwrite"
"sync_mode": "incremental",
"destination_sync_mode": "append",
"cursor_field": ["last_seen"]
},
{
"stream": {
Expand All @@ -33,37 +39,47 @@
"name": "export",
"json_schema": {},
"supported_sync_modes": ["full_refresh", "incremental"],
"source_defined_cursor": true,
"default_cursor_field": ["time"]
},
"sync_mode": "full_refresh",
"sync_mode": "incremental",
"destination_sync_mode": "append"
},
{
"stream": {
"name": "cohorts",
"json_schema": {},
"supported_sync_modes": ["full_refresh", "incremental"]
"supported_sync_modes": ["full_refresh", "incremental"],
"source_defined_cursor": true,
"default_cursor_field": ["created"],
"source_defined_primary_key": [["id"]]
},
"sync_mode": "full_refresh",
"destination_sync_mode": "overwrite"
"sync_mode": "incremental",
"destination_sync_mode": "append"
},
{
"stream": {
"name": "cohort_members",
"json_schema": {},
"supported_sync_modes": ["full_refresh", "incremental"]
"supported_sync_modes": ["full_refresh", "incremental"],
"source_defined_cursor": false,
"default_cursor_field": null,
"source_defined_primary_key": [["distinct_id"]]
},
"sync_mode": "full_refresh",
"destination_sync_mode": "overwrite"
"sync_mode": "incremental",
"destination_sync_mode": "append",
"cursor_field": ["last_seen"]
},
{
"stream": {
"name": "revenue",
"json_schema": {},
"supported_sync_modes": ["full_refresh", "incremental"],
"default_cursor_field": ["date"]
"source_defined_cursor": true,
"default_cursor_field": ["date"],
"source_defined_primary_key": [["date"]]
},
"sync_mode": "full_refresh",
"sync_mode": "incremental",
"destination_sync_mode": "append"
}
]
Expand Down

This file was deleted.

0 comments on commit e8736ee

Please sign in to comment.