Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Nov 29, 2018

Make sure you have checked all steps below.

Jira

Description

  • Here are some details about my PR, including screenshots of any UI changes:

Added several missing decodes on reading output from running
subprocess (cloud_sql_proxy). This fixes Python3 compatibility.

Tests

  • My PR adds the following unit tests OR does not need testing for this extremely good reason:

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

  • My commits all reference Jira issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":
    1. Subject is separated from body by a blank line
    2. Subject is limited to 50 characters (not including Jira issue reference)
    3. Subject does not end with a period
    4. Subject uses the imperative mood ("add", not "adding")
    5. Body wraps at 72 characters
    6. Body explains "what" and "why", not "how"

Documentation

  • In case of new functionality, my PR adds documentation that describes how to use it.
    No new functionality.

Code Quality

  • Passes flake8

Added several missing decodes on reading output from running
subprocess (cloud_sql_proxy)
@codecov-io
Copy link

Codecov Report

Merging #4254 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4254   +/-   ##
=======================================
  Coverage   77.81%   77.81%           
=======================================
  Files         201      201           
  Lines       16455    16455           
=======================================
  Hits        12805    12805           
  Misses       3650     3650

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3fede98...22bea28. Read the comment docs.

@kaxil kaxil merged commit 7d2115d into apache:master Dec 2, 2018
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)
@potiuk potiuk deleted the AIRFLOW-3416-CloudSqlQueryOperator-Python3 branch January 11, 2019 16:02
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants