-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
🎉 Posthog: New Source #3768
🎉 Posthog: New Source #3768
Conversation
/test connector=source-posthog
|
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.
- Please, use ./gradlew format for format your code, because now we have error with Format on Build step
- You should add env variable to the next files for run your CI Tests:
- .github/workflows/test-command.yml
- .github/workflows/publish-command.yml
- tools/bin/ci_credentials.sh
airbyte-integrations/connectors/source-posthog/source_posthog/spec.json
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-posthog/acceptance-test-docker.sh
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-posthog/source_posthog/source.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-posthog/source_posthog/streams.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-posthog/source_posthog/streams.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-posthog/source_posthog/streams.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-posthog/source_posthog/streams.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-posthog/source_posthog/streams.py
Outdated
Show resolved
Hide resolved
/test connector=source-posthog
|
/test connector=source-posthog
|
/test connector=source-posthog
|
/test connector=source-posthog
|
airbyte-integrations/connectors/source-posthog/source_posthog/streams.py
Outdated
Show resolved
Hide resolved
/test connector=source-posthog
|
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.
agreed with @vovavovavovavova to do some refactoring manually
/test connector=source-posthog
|
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.
LGTM with a request for one comment
Annotations(authenticator=authenticator, start_date=config["start_date"]), | ||
Cohorts(authenticator=authenticator), | ||
Events(authenticator=authenticator, start_date=config["start_date"]), | ||
# EventsSessions(authenticator=authenticator), |
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.
can you add a comment describing why this is commented out?
/publish connector=connectors/source-posthog
|
/publish connector=connectors/source-posthog
|
What
Closes #2010
How
Implemenation for this source. A lot of endpoints have no documented way to sort ASC, a lot of them have no documented filters by request arguments (like since, from_date etc), so most of endpoints supports only FullRefresh Mode.
Some of them, who are ordered Descendant (and paginated, like first page ids come from 500 to 400, second page from 400 to 300), and have no documented filter by date, is supported like "Reverse Incremental" - from the first element and until we reach the state value (save state only on reaching this value).
Pre-merge Checklist
airbyte_secret
in output spec./gradlew :airbyte-integrations:connectors:<name>:integrationTest
./test connector=connectors/<name>
command as documented here is passing.docs/integrations/
directory./publish
command described here