Skip to content

Commit 445ebda

Browse files
author
Anton Karpets
authored
🏥Source Mixpanel: fix expected records (#37094)
1 parent d70b3a9 commit 445ebda

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

airbyte-integrations/connectors/source-mixpanel/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ See `sample_files/sample_config.json` for a sample config file.
3030
poetry run source-mixpanel spec
3131
poetry run source-mixpanel check --config secrets/config.json
3232
poetry run source-mixpanel discover --config secrets/config.json
33-
poetry run source-mixpanel read --config secrets/config.json --catalog sample_files/configured_catalog.json
33+
poetry run source-mixpanel read --config secrets/config.json --catalog integration_tests/configured_catalog.json
3434
```
3535

3636
### Running unit tests

airbyte-integrations/connectors/source-mixpanel/integration_tests/expected_records.jsonl

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
{"stream": "engage", "data": {"distinct_id": "[email protected]", "email": "[email protected]", "name": "123", "123": "123456", "last_seen": "2023-01-01T00:00:00", "how are you": "just fine"}, "emitted_at": 1695642956746}
33
{"stream": "engage", "data": {"distinct_id": "[email protected]", "name": "Integration Test1", "test": "test", "email": "[email protected]", "last_seen": "2023-01-01T00:00:00"}, "emitted_at": 1695642956748}
44
{"stream": "engage", "data": {"distinct_id": "integration-test.db4415.mp-service-account", "name": "test", "test": "test", "last_seen": "2023-01-01T00:00:00"}, "emitted_at": 1695642956749}
5-
{"stream": "funnels", "data": {"funnel_id": 36152117, "name": "test", "date": "2024-03-17", "steps": [{"count": 0, "avg_time": null, "avg_time_from_start": null, "event": "Purchase", "goal": "Purchase", "step_label": "Purchase", "overall_conv_ratio": 1, "step_conv_ratio": 1}, {"count": 0, "avg_time": null, "avg_time_from_start": null, "event": "$custom_event:1305068", "goal": "$custom_event:1305068", "step_label": "111", "custom_event": true, "custom_event_id": 1305068, "overall_conv_ratio": 0, "step_conv_ratio": 0}], "analysis": {"completion": 0, "starting_amount": 0, "steps": 2, "worst": 1}}, "emitted_at": 1709117161812}
6-
{"stream": "funnels", "data": {"funnel_id": 36152117, "name": "test", "date": "2024-03-18", "steps": [{"count": 0, "avg_time": null, "avg_time_from_start": null, "event": "Purchase", "goal": "Purchase", "step_label": "Purchase", "overall_conv_ratio": 1, "step_conv_ratio": 1}, {"count": 0, "avg_time": null, "avg_time_from_start": null, "event": "$custom_event:1305068", "goal": "$custom_event:1305068", "step_label": "111", "custom_event": true, "custom_event_id": 1305068, "overall_conv_ratio": 0, "step_conv_ratio": 0}], "analysis": {"completion": 0, "starting_amount": 0, "steps": 2, "worst": 1}}, "emitted_at": 1709117161812}
7-
{"stream": "funnels", "data": {"funnel_id": 36152117, "name": "test", "date": "2024-03-19", "steps": [{"count": 0, "avg_time": null, "avg_time_from_start": null, "event": "Purchase", "goal": "Purchase", "step_label": "Purchase", "overall_conv_ratio": 1, "step_conv_ratio": 1}, {"count": 0, "avg_time": null, "avg_time_from_start": null, "event": "$custom_event:1305068", "goal": "$custom_event:1305068", "step_label": "111", "custom_event": true, "custom_event_id": 1305068, "overall_conv_ratio": 0, "step_conv_ratio": 0}], "analysis": {"completion": 0, "starting_amount": 0, "steps": 2, "worst": 1}}, "emitted_at": 1709117161812}
8-
{"stream": "revenue", "data": {"date": "2024-03-17", "amount": 0.0, "count": 3, "paid_count": 0}, "emitted_at": 1695644343316}
9-
{"stream": "revenue", "data": {"date": "2024-03-18", "amount": 0.0, "count": 3, "paid_count": 0}, "emitted_at": 1695644343317}
10-
{"stream": "revenue", "data": {"date": "2024-03-19", "amount": 0.0, "count": 3, "paid_count": 0}, "emitted_at": 1695644343317}
5+
{"stream": "funnels", "data": {"funnel_id": 36152117, "name": "test", "date": "2023-01-21", "steps": [{"count": 0, "avg_time": null, "avg_time_from_start": null, "event": "Purchase", "goal": "Purchase", "step_label": "Purchase", "overall_conv_ratio": 1, "step_conv_ratio": 1}, {"count": 0, "avg_time": null, "avg_time_from_start": null, "event": "$custom_event:1305068", "goal": "$custom_event:1305068", "step_label": "111", "custom_event": true, "custom_event_id": 1305068, "overall_conv_ratio": 0, "step_conv_ratio": 0}], "analysis": {"completion": 0, "starting_amount": 0, "steps": 2, "worst": 1}}, "emitted_at": 1712914793332}
6+
{"stream": "funnels", "data": {"funnel_id": 36152117, "name": "test", "date": "2023-01-22", "steps": [{"count": 0, "avg_time": null, "avg_time_from_start": null, "event": "Purchase", "goal": "Purchase", "step_label": "Purchase", "overall_conv_ratio": 1, "step_conv_ratio": 1}, {"count": 0, "avg_time": null, "avg_time_from_start": null, "event": "$custom_event:1305068", "goal": "$custom_event:1305068", "step_label": "111", "custom_event": true, "custom_event_id": 1305068, "overall_conv_ratio": 0, "step_conv_ratio": 0}], "analysis": {"completion": 0, "starting_amount": 0, "steps": 2, "worst": 1}}, "emitted_at": 1712914793334}
7+
{"stream": "funnels", "data": {"funnel_id": 36152117, "name": "test", "date": "2023-01-23", "steps": [{"count": 0, "avg_time": null, "avg_time_from_start": null, "event": "Purchase", "goal": "Purchase", "step_label": "Purchase", "overall_conv_ratio": 1, "step_conv_ratio": 1}, {"count": 0, "avg_time": null, "avg_time_from_start": null, "event": "$custom_event:1305068", "goal": "$custom_event:1305068", "step_label": "111", "custom_event": true, "custom_event_id": 1305068, "overall_conv_ratio": 0, "step_conv_ratio": 0}], "analysis": {"completion": 0, "starting_amount": 0, "steps": 2, "worst": 1}}, "emitted_at": 1712914793335}
8+
{"stream": "revenue", "data": {"date": "2023-01-21", "amount": 0.0, "count": 3, "paid_count": 0}, "emitted_at": 1712914801991}
9+
{"stream": "revenue", "data": {"date": "2023-01-22", "amount": 0.0, "count": 3, "paid_count": 0}, "emitted_at": 1712914801992}
10+
{"stream": "revenue", "data": {"date": "2023-01-23", "amount": 0.0, "count": 3, "paid_count": 0}, "emitted_at": 1712914801992}
1111
{"stream": "cohort_members", "data": {"distinct_id": "[email protected]", "name": "Integration Test1", "test": "test", "email": "[email protected]", "last_seen": "2023-01-01T00:00:00", "cohort_id": 1478097}, "emitted_at": 1695644214153}
1212
{"stream": "cohort_members", "data": {"distinct_id": "integration-test.db4415.mp-service-account", "name": "test", "test": "test", "last_seen": "2023-01-01T00:00:00", "cohort_id": 1478097}, "emitted_at": 1695644214154}

0 commit comments

Comments
 (0)