-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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 Amplitude: Fixed JSON Validator date-time
validation
#13373
🐛 Source Amplitude: Fixed JSON Validator date-time
validation
#13373
Conversation
@pedroslopez please check this PR according to this discussion: #13075 |
/test connector=connectors/source-amplitude
Build PassedTest summary info:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the right approach here is to follow what Hubspot did in #13159 and instead fix the connector to output date-times in RFC3339 format.
From my comment in #13075:
We are using JSONSchema to specify types, and JSONSchema specifically states that date-times should be represented RFC3339. As such, I think the right solution is to have connectors output date-times in RFC3339, rather than simply remove "format": "date-time" from the stream schemas.
…ce-amplitude-fix-date-time-validation
/test connector=connectors/source-amplitude
Build PassedTest summary info:
|
Codecov Report
@@ Coverage Diff @@
## master airbytehq/airbyte#13373 +/- ##
=========================================
Coverage ? 92.03%
=========================================
Files ? 4
Lines ? 201
Branches ? 0
=========================================
Hits ? 185
Misses ? 16
Partials ? 0 Continue to review full report at Codecov.
|
airbyte-integrations/connectors/source-amplitude/source_amplitude/api.py
Show resolved
Hide resolved
airbyte-integrations/connectors/source-amplitude/source_amplitude/api.py
Show resolved
Hide resolved
airbyte-integrations/connectors/source-amplitude/source_amplitude/api.py
Outdated
Show resolved
Hide resolved
/test connector=connectors/source-amplitude
Build PassedTest summary info:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice - verified that timestamps from the amplitude export api are actually UTC according to docs, so this should be good:
The Export API returns events timestamped in UTC
/publish connector=connectors/source-amplitude
|
* master: (142 commits) Highlight removed and added streams in Connection form (airbytehq#13392) 🐛 Source Amplitude: Fixed JSON Validator `date-time` validation (airbytehq#13373) 🐛 Source Mixpanel: publish v0.1.17 (airbytehq#13450) Fixed reverted PR: Fix cancel button when it doesn't provide feedback to the user + UX improvements (airbytehq#13388) 🎉 Source Freshdesk: Added new streams (airbytehq#13332) Prepare YamlSeedConfigPersistence for dependency injection (airbytehq#13384) helm chart: Support nodeSelector, tolerations and affinity on the booloader pod (airbytehq#11467) airbyte-api: add jackson model annotations to remove null values from responses (airbytehq#13370) Change stage to `beta` (airbytehq#13422) 🐛 Source Google Sheets: Retry on server errors (airbytehq#13446) Improve kube deploy process. (airbytehq#13397) Helm chart dependencies fix (airbytehq#13432) 🐛 Source HubSpot: Transform `contact_lists` data to comply with schema (airbytehq#13218) airbytehq#11758: Source Google Ads to GA (airbytehq#13441) Add more pr actions to tag pull requests (airbytehq#13437) Source Google Ads: drop schema field that filters out the data from stream (airbytehq#13423) Updates error view with new design (airbytehq#13197) Source MSSQL: correct enum Standard method (airbytehq#13419) Update postgres doc about cdc publication (airbytehq#13433) run source acceptance tests against image built from branch (airbytehq#13401) ...
What
Resolving: #13075
How
_get_date_time_items_from_schema
method to get alldate-time
formated items from schema_date_time_to_rfc3339
method to transform record date-time entities to RFC3339 format🚨 User Impact 🚨
No impact expected.
Pre-merge Checklist
Expand the relevant checklist and delete the others.
Updating a connector
Community member or Airbyter
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.README.md
docs/integrations/<source or destination>/<name>.md
including changelog. See changelog exampleAirbyter
If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.
/test connector=connectors/<name>
command is passing/publish
command described here