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

[AIRFLOW-6111] [AIP-21] Rename GCP spanner operator and hook #7004

Merged

Conversation

michalslowikowski00
Copy link
Contributor

@michalslowikowski00 michalslowikowski00 commented Jan 2, 2020

PR contains changes regarding AIP-21 (renaming GCP operators and hooks):

renamed GCP modules
adde deprecation warnings to the contrib modules
fixed tests
updated UPDATING.md


In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.
Read the Pull Request Guidelines for more information.

@codecov-io
Copy link

codecov-io commented Jan 2, 2020

Codecov Report

Merging #7004 into master will decrease coverage by 0.27%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7004      +/-   ##
==========================================
- Coverage   85.15%   84.88%   -0.28%     
==========================================
  Files         680      680              
  Lines       38824    38848      +24     
==========================================
- Hits        33061    32975      -86     
- Misses       5763     5873     +110
Impacted Files Coverage Δ
airflow/gcp/example_dags/example_spanner.py 100% <100%> (ø) ⬆️
airflow/contrib/operators/gcp_spanner_operator.py 100% <100%> (ø) ⬆️
airflow/gcp/operators/spanner.py 98.75% <100%> (ø) ⬆️
airflow/contrib/hooks/gcp_spanner_hook.py 100% <100%> (ø) ⬆️
airflow/kubernetes/volume_mount.py 44.44% <0%> (-55.56%) ⬇️
airflow/kubernetes/volume.py 52.94% <0%> (-47.06%) ⬇️
airflow/kubernetes/pod_launcher.py 45.25% <0%> (-46.72%) ⬇️
airflow/kubernetes/refresh_config.py 50.98% <0%> (-23.53%) ⬇️
...rflow/contrib/operators/kubernetes_pod_operator.py 78.75% <0%> (-20%) ⬇️

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 fe20ef6...033efd0. Read the comment docs.

@mik-laj mik-laj added the provider:google Google (including GCP) related issues label Jan 3, 2020
Copy link
Member

@turbaszek turbaszek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM just unrelated changes in UPDATING.md

UPDATING.md Outdated
|airflow.contrib.operators.gcp_natural_language_operator.CloudLanguageAnalyzeEntitiesOperator |airflow.providers.google.cloud.operators.natural_language.CloudLanguageAnalyzeEntitiesOperator |
|airflow.contrib.operators.gcp_natural_language_operator.CloudLanguageAnalyzeEntitySentimentOperator |airflow.providers.google.cloud.operators.natural_language.CloudLanguageAnalyzeEntitySentimentOperator |
|airflow.contrib.operators.gcp_natural_language_operator.CloudLanguageAnalyzeSentimentOperator |airflow.providers.google.cloud.operators.natural_language.CloudLanguageAnalyzeSentimentOperator |
|airflow.contrib.operators.gcp_natural_language_operator.CloudLanguageClassifyTextOperator |airflow.providers.google.cloud.operators.natural_language.CloudLanguageClassifyTextOperator |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this are unrelated changes?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about new paths?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, but this changes CloudLanguage and the PR says Spanner 💃

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ops... Fix is on the way.

@michalslowikowski00 michalslowikowski00 force-pushed the AIRFLOW-6111-Rename-spanner-service branch 2 times, most recently from 278644e to 06f5993 Compare January 4, 2020 16:33
@michalslowikowski00 michalslowikowski00 changed the title [AIRFLOW-6111] [AIP-21] Rename spanner service [AIRFLOW-6111] [AIP-21] Rename GCP spanner operator and hook Jan 4, 2020
@michalslowikowski00 michalslowikowski00 force-pushed the AIRFLOW-6111-Rename-spanner-service branch from 06f5993 to fccc34d Compare January 7, 2020 08:01
@michalslowikowski00 michalslowikowski00 force-pushed the AIRFLOW-6111-Rename-spanner-service branch from fccc34d to 033efd0 Compare January 8, 2020 09:23
@turbaszek turbaszek merged commit 8ad6160 into apache:master Jan 8, 2020
@michalslowikowski00 michalslowikowski00 deleted the AIRFLOW-6111-Rename-spanner-service branch January 26, 2020 08:35
galuszkak pushed a commit to FlyrInc/apache-airflow that referenced this pull request Mar 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
provider:google Google (including GCP) related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants