-
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 Mixpanel : Fix Export HTTP Response Parsing #11318
🐛 Source Mixpanel : Fix Export HTTP Response Parsing #11318
Conversation
Can you sign the CLA @guillaume-chech ? Also can you share the integration tests or a screenshoot showing the modification solves the issue? |
Overall the change looks great thanks @guillaume-chech |
/test connector=connectors/source-mixpanel repo=guillaume-chech/airbyte
|
@marcosmarxm Looks like something went wrong with the acceptance test run. Do you have more logs of the run, it's just saying that the instance was killed :) |
Our Mixpanel CI is broke @guillaume-chech I'm working to fix it and run tests with your changes |
…ub.com:guillaume-chech/airbyte into marcos/test-pr-11318
@guillaume-chech I'm working to remove data from our integration accoun, hope tomorrow I can test your changes and merged it. |
@marcosmarxm Did you manage to implement a fix for the CI ? |
Testing!!!## What
Export stream processing could fail in some edge cases where individual Export text properties would contains line breaks causing the json parser to fail. As reported here #11018
How
The solution replaces the usage of
response.text.splitlines()
by the use of the HTTP responseresponse.iter_lines()
method. No other changes implemented.Recommended reading order
source_mixpanel/souce.py
🚨 User Impact 🚨
No impact expected. Change should be transparent.
Pre-merge Checklist
Expand the relevant checklist and delete the others.
New Connector
Community member or Airbyter
airbyte_secret
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.README.md
bootstrap.md
. See description and examplesdocs/SUMMARY.md
docs/integrations/<source or destination>/<name>.md
including changelog. See changelog exampledocs/integrations/README.md
airbyte-integrations/builds.md
Airbyter
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 hereUpdating a connector
Community member or Airbyter
airbyte_secret
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.README.md
bootstrap.md
. See description and examplesdocs/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 hereConnector Generator
-scaffold
in their name) have been updated with the latest scaffold by running./gradlew :airbyte-integrations:connector-templates:generator:testScaffoldTemplates
then checking in your changesTests
Unit
Integration
Acceptance
I did not manage to run those likely that something is wrong with my setup.