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 amplitude - fix build #5974

Closed
Tracked by #5972
midavadim opened this issue Sep 10, 2021 · 1 comment · Fixed by #6353
Closed
Tracked by #5972

source amplitude - fix build #5974

midavadim opened this issue Sep 10, 2021 · 1 comment · Fixed by #6353

Comments

@midavadim
Copy link
Contributor

midavadim commented Sep 10, 2021

the connector's build is failing. This issue tracks fixing it.

@sherifnada sherifnada added the area/connectors Connector related issues label Sep 16, 2021
@sherifnada sherifnada changed the title source amplitude - fix schema related failure source amplitude - fix build Sep 20, 2021
@yevhenii-ldv
Copy link
Contributor

It looks like there is a problem with schema correctness for the following streams:

  • cohorts
  • active_users
  • average_session_length

From the logs we can see that the validation does not pass some fields that are specified with the date-time format, as well as the owners field is not object.

------------------------------ Captured log call -------------------------------
ERROR    root:test_core.py:158 The cohorts stream has the following schema errors:
['john@dataline.io'*** is not of type 'null', 'object'

Failed validating 'type' in schema['properties'***['owners'***:
    ***'type': ['null', 'object'***

On instance['owners'***:
    ['john@dataline.io'***
ERROR    root:test_core.py:158 The active_users stream has the following schema errors:
2021-09-20 has invalid datetime format

Failed validating 'format' in schema['properties'***['date'***:
    ***'format': 'date-time', 'type': ['null', 'string'***

On instance['date'***:
    '2021-09-20'
ERROR    root:test_core.py:158 The average_session_length stream has the following schema errors:
2021-09-20 has invalid datetime format

Failed validating 'format' in schema['properties'***['date'***:
    ***'format': 'date-time', 'type': ['null', 'string'***

On instance['date'***:
    '2021-09-20'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment