[AIRFLOW-3416] Fixes Python 3 compatibility with CloudSqlQueryOperator#4254
Merged
kaxil merged 1 commit intoapache:masterfrom Dec 2, 2018
Merged
Conversation
Added several missing decodes on reading output from running subprocess (cloud_sql_proxy)
Codecov Report
@@ Coverage Diff @@
## master #4254 +/- ##
=======================================
Coverage 77.81% 77.81%
=======================================
Files 201 201
Lines 16455 16455
=======================================
Hits 12805 12805
Misses 3650 3650Continue to review full report at Codecov.
|
kaxil
pushed a commit
that referenced
this pull request
Dec 2, 2018
#4254) Added several missing decodes on reading output from running subprocess (cloud_sql_proxy)
elizabethhalper
pushed a commit
to cse-airflow/incubator-airflow
that referenced
this pull request
Dec 7, 2018
apache#4254) Added several missing decodes on reading output from running subprocess (cloud_sql_proxy)
aliceabe
pushed a commit
to aliceabe/incubator-airflow
that referenced
this pull request
Jan 3, 2019
apache#4254) Added several missing decodes on reading output from running subprocess (cloud_sql_proxy)
kaxil
pushed a commit
that referenced
this pull request
Jan 9, 2019
#4254) Added several missing decodes on reading output from running subprocess (cloud_sql_proxy)
ashb
pushed a commit
to ashb/airflow
that referenced
this pull request
Jan 10, 2019
apache#4254) Added several missing decodes on reading output from running subprocess (cloud_sql_proxy)
cfei18
pushed a commit
to cfei18/incubator-airflow
that referenced
this pull request
Jan 23, 2019
Added several missing decodes on reading output from running subprocess (cloud_sql_proxy)
wmorris75
pushed a commit
to modmed-external/incubator-airflow
that referenced
this pull request
Jul 29, 2019
apache#4254) Added several missing decodes on reading output from running subprocess (cloud_sql_proxy)
dheerajturaga
pushed a commit
to dheerajturaga/airflow
that referenced
this pull request
Oct 1, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Make sure you have checked all steps below.
Jira
Description
Added several missing decodes on reading output from running
subprocess (cloud_sql_proxy). This fixes Python3 compatibility.
Tests
The problem with testing this issue is that it really needs integration testing level with GCP - something that I proposed in https://cwiki.apache.org/confluence/display/AIRFLOW/AIP-4+Support+for+Integration+Tests and we have a working proof of concept using Cloud Build and our own GCP project (we will soon share it with community to see what they think about) so this problem has been actually detected using our automated integration testing and then fixed and tested in python 3.5 and python 3.6 environment. Here are some results of those tests:
Tests succeeding in Python 2.7 but failing on both 3.5 and 3.6:
https://storage.googleapis.com/polidea-airflow-builds/944c09c7-fbb5-4ae4-b069-7c2590cd1e7e/index.html
Tests succeeding in all 3 environments after adding decodes:
https://storage.googleapis.com/polidea-airflow-builds/5843e2a9-f086-448d-bdc3-14646ebb7f5d/index.html
Commits
Documentation
No new functionality.
Code Quality
flake8