Skip to content

Commit

Permalink
#19055 source Marketo: fix stream schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
davydov-d committed Jan 25, 2023
1 parent 2a60aca commit f36ce29
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-marketo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ COPY source_marketo ./source_marketo
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.1.11
LABEL io.airbyte.version=1.0.0
LABEL io.airbyte.name=airbyte/source-marketo
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,9 @@ def get_json_schema(self) -> Mapping[str, Any]:
for attr in self.activity["attributes"]:
attr_name = clean_string(attr["name"])

if attr["dataType"] in ["datetime", "date"]:
if attr["dataType"] == "date":
field_schema = {"type": "string", "format": "date"}
elif attr["dataType"] == "datetime":
field_schema = {"type": "string", "format": "date-time"}
elif attr["dataType"] in ["integer", "percent", "score"]:
field_schema = {"type": "integer"}
Expand Down
1 change: 1 addition & 0 deletions docs/integrations/sources/marketo.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ If the 50,000 limit is too stringent, contact Marketo support for a quota increa

| Version | Date | Pull Request | Subject |
|:---------|:-----------|:---------------------------------------------------------|:----------------------------------------------------------------------------------------------|
| `1.0.0` | 2023-01-25 | [21790](https://github.com/airbytehq/airbyte/pull/21790) | Fix `activities_*` stream schemas |
| `0.1.11` | 2022-09-30 | [17445](https://github.com/airbytehq/airbyte/pull/17445) | Do not use temporary files for memory optimization |
| `0.1.10` | 2022-09-30 | [17445](https://github.com/airbytehq/airbyte/pull/17445) | Optimize memory consumption |
| `0.1.9` | 2022-09-28 | [17304](https://github.com/airbytehq/airbyte/pull/17304) | Migrate to per-stream sate. |
Expand Down

0 comments on commit f36ce29

Please sign in to comment.