Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚨🚨🎉Source Pinterest: migrate to low-code #37698

Merged
merged 25 commits into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-pinterest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ See `sample_files/sample_config.json` for a sample config file.
poetry run source-pinterest spec
poetry run source-pinterest check --config secrets/config.json
poetry run source-pinterest discover --config secrets/config.json
poetry run source-pinterest read --config secrets/config.json --catalog sample_files/configured_catalog.json
poetry run source-pinterest read --config secrets/config.json --catalog integration_tests/configured_catalog.json
```

### Running unit tests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@
"type": "STREAM",
"stream": {
"stream_state": {
"DATE": "3021-06-09"
"states": [
{
"partition": { "id": "549761668032", "parent_slice": {} },
"cursor": { "date": "3021-06-09" }
}
]
},
"stream_descriptor": {
"name": "ad_account_analytics"
Expand All @@ -25,7 +30,12 @@
"type": "STREAM",
"stream": {
"stream_state": {
"updated_time": 9628867244
"states": [
{
"partition": { "id": "549761668032", "parent_slice": {} },
"cursor": { "updated_time": 9628867244 }
}
]
},
"stream_descriptor": {
"name": "campaigns"
Expand All @@ -36,7 +46,12 @@
"type": "STREAM",
"stream": {
"stream_state": {
"updated_time": 9628867244
"states": [
{
"partition": { "id": "549761668032", "parent_slice": {} },
"cursor": { "updated_time": 9628867244 }
}
]
},
"stream_descriptor": {
"name": "ad_groups"
Expand All @@ -47,7 +62,12 @@
"type": "STREAM",
"stream": {
"stream_state": {
"updated_time": 9628867244
"states": [
{
"partition": { "id": "549761668032", "parent_slice": {} },
"cursor": { "updated_time": 9628867244 }
}
]
},
"stream_descriptor": {
"name": "ads"
Expand All @@ -58,7 +78,36 @@
"type": "STREAM",
"stream": {
"stream_state": {
"DATE": "3021-06-09"
"states": [
{
"partition": {
"id": "626744128956",
"parent_slice": { "id": "549761668032" }
},
"cursor": { "DATE": "3021-06-09" }
},
{
"partition": {
"id": "626744128962",
"parent_slice": { "id": "549761668032" }
},
"cursor": { "DATE": "3021-06-09" }
},
{
"partition": {
"id": "626744128966",
"parent_slice": { "id": "549761668032" }
},
"cursor": { "DATE": "3021-06-09" }
},
{
"partition": {
"id": "626744128982",
"parent_slice": { "id": "549761668032" }
},
"cursor": { "DATE": "3021-06-09" }
}
]
},
"stream_descriptor": {
"name": "campaign_analytics"
Expand All @@ -69,7 +118,36 @@
"type": "STREAM",
"stream": {
"stream_state": {
"DATE": "3021-06-09"
"states": [
{
"partition": {
"id": "2680068678965",
"parent_slice": { "id": "549761668032" }
},
"cursor": { "DATE": "3021-06-09" }
},
{
"partition": {
"id": "2680068678971",
"parent_slice": { "id": "549761668032" }
},
"cursor": { "DATE": "3021-06-09" }
},
{
"partition": {
"id": "2680068678975",
"parent_slice": { "id": "549761668032" }
},
"cursor": { "DATE": "3021-06-09" }
},
{
"partition": {
"id": "2680068678993",
"parent_slice": { "id": "549761668032" }
},
"cursor": { "DATE": "3021-06-09" }
}
]
},
"stream_descriptor": {
"name": "ad_group_analytics"
Expand All @@ -80,7 +158,36 @@
"type": "STREAM",
"stream": {
"stream_state": {
"DATE": "3021-06-09"
"states": [
{
"partition": {
"id": "687218400118",
"parent_slice": { "id": "549761668032" }
},
"cursor": { "DATE": "3021-06-09" }
},
{
"partition": {
"id": "687218400125",
"parent_slice": { "id": "549761668032" }
},
"cursor": { "DATE": "3021-06-09" }
},
{
"partition": {
"id": "687218400132",
"parent_slice": { "id": "549761668032" }
},
"cursor": { "DATE": "3021-06-09" }
},
{
"partition": {
"id": "687218400210",
"parent_slice": { "id": "549761668032" }
},
"cursor": { "DATE": "3021-06-09" }
}
]
},
"stream_descriptor": {
"name": "ad_analytics"
Expand Down
17 changes: 15 additions & 2 deletions airbyte-integrations/connectors/source-pinterest/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: 5cb7e5fe-38c2-11ec-8d3d-0242ac130003
dockerImageTag: 1.3.3
dockerImageTag: 2.0.0
dockerRepository: airbyte/source-pinterest
connectorBuildOptions:
baseImage: docker.io/airbyte/python-connector-base:1.1.0@sha256:bd98f6505c6764b1b5f99d3aedc23dfc9e9af631a62533f60eb32b1d3dbab20c
Expand All @@ -26,6 +26,19 @@ data:
releaseStage: generally_available
releases:
breakingChanges:
2.0.0:
message: "This release introduces updated format of state for incremental streams. Users will need to reset affected streams after upgrading."
askarpets marked this conversation as resolved.
Show resolved Hide resolved
upgradeDeadline: "2024-06-03"
scopedImpact:
- scopeType: stream
impactedScopes:
- ad_account_analytics
- ad_analytics
- ad_group_analytics
- ad_groups
- ads
- campaign_analytics
- campaigns
1.0.0:
message:
"This release updates the date-time fields to use the Airbyte format
Expand All @@ -51,7 +64,7 @@ data:
documentationUrl: https://docs.airbyte.com/integrations/sources/pinterest
tags:
- language:python
- cdk:python
- cdk:low-code
ab_internal:
sl: 200
ql: 400
Expand Down
Loading
Loading