You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/03/17 15:53:55 UTC

[GitHub] [airflow] kaxil opened a new pull request #7750: [AIRFLOW-7079] Remove redundant code for storing template_fields

kaxil opened a new pull request #7750: [AIRFLOW-7079] Remove redundant code for storing template_fields
URL: https://github.com/apache/airflow/pull/7750
 
 
   We don't need the logic in https://github.com/apache/airflow/pull/6715 to store fields used in Extra Operator links as now we store all the template_fields (https://github.com/apache/airflow/pull/7633)
   
   ---
   Issue link: WILL BE INSERTED BY [boring-cyborg](https://github.com/kaxil/boring-cyborg)
   
   Make sure to mark the boxes below before creating PR: [x]
   
   - [x] Description above provides context of the change
   - [x] Commit message/PR title starts with `[AIRFLOW-NNNN]`. AIRFLOW-NNNN = JIRA ID<sup>*</sup>
   - [x] Unit tests coverage for changes (not needed for documentation changes)
   - [x] Commits follow "[How to write a good git commit message](http://chris.beams.io/posts/git-commit/)"
   - [x] Relevant documentation is updated including usage instructions.
   - [x] I will engage committers as explained in [Contribution Workflow Example](https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst#contribution-workflow-example).
   
   <sup>*</sup> For document-only changes commit message can start with `[AIRFLOW-XXXX]`.
   
   ---
   In case of fundamental code change, Airflow Improvement Proposal ([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvements+Proposals)) is needed.
   In case of a new dependency, check compliance with the [ASF 3rd Party License Policy](https://www.apache.org/legal/resolved.html#category-x).
   In case of backwards incompatible changes please leave a note in [UPDATING.md](https://github.com/apache/airflow/blob/master/UPDATING.md).
   Read the [Pull Request Guidelines](https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst#pull-request-guidelines) for more information.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [airflow] codecov-io commented on issue #7750: [AIRFLOW-7079] Remove redundant code for storing template_fields

Posted by GitBox <gi...@apache.org>.
codecov-io commented on issue #7750: [AIRFLOW-7079] Remove redundant code for storing template_fields
URL: https://github.com/apache/airflow/pull/7750#issuecomment-600221535
 
 
   # [Codecov](https://codecov.io/gh/apache/airflow/pull/7750?src=pr&el=h1) Report
   > Merging [#7750](https://codecov.io/gh/apache/airflow/pull/7750?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/2a54512d785ba603ba71381dc3dfa049e9f74063?src=pr&el=desc) will **decrease** coverage by `22.33%`.
   > The diff coverage is `98.33%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/7750/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/7750?src=pr&el=tree)
   
   ```diff
   @@             Coverage Diff             @@
   ##           master    #7750       +/-   ##
   ===========================================
   - Coverage   86.96%   64.63%   -22.34%     
   ===========================================
     Files         915      914        -1     
     Lines       44188    44185        -3     
   ===========================================
   - Hits        38429    28559     -9870     
   - Misses       5759    15626     +9867
   ```
   
   
   | [Impacted Files](https://codecov.io/gh/apache/airflow/pull/7750?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [...viders/google/cloud/operators/kubernetes\_engine.py](https://codecov.io/gh/apache/airflow/pull/7750/diff?src=pr&el=tree#diff-YWlyZmxvdy9wcm92aWRlcnMvZ29vZ2xlL2Nsb3VkL29wZXJhdG9ycy9rdWJlcm5ldGVzX2VuZ2luZS5weQ==) | `97.18% <100%> (-0.08%)` | :arrow_down: |
   | [...oviders/google/cloud/utils/credentials\_provider.py](https://codecov.io/gh/apache/airflow/pull/7750/diff?src=pr&el=tree#diff-YWlyZmxvdy9wcm92aWRlcnMvZ29vZ2xlL2Nsb3VkL3V0aWxzL2NyZWRlbnRpYWxzX3Byb3ZpZGVyLnB5) | `91.83% <100%> (-1.39%)` | :arrow_down: |
   | [airflow/providers/qubole/operators/qubole.py](https://codecov.io/gh/apache/airflow/pull/7750/diff?src=pr&el=tree#diff-YWlyZmxvdy9wcm92aWRlcnMvcXVib2xlL29wZXJhdG9ycy9xdWJvbGUucHk=) | `87.69% <100%> (-0.88%)` | :arrow_down: |
   | [airflow/utils/process\_utils.py](https://codecov.io/gh/apache/airflow/pull/7750/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy9wcm9jZXNzX3V0aWxzLnB5) | `27.55% <100%> (-45.71%)` | :arrow_down: |
   | [...rflow/providers/google/cloud/operators/bigquery.py](https://codecov.io/gh/apache/airflow/pull/7750/diff?src=pr&el=tree#diff-YWlyZmxvdy9wcm92aWRlcnMvZ29vZ2xlL2Nsb3VkL29wZXJhdG9ycy9iaWdxdWVyeS5weQ==) | `91.37% <100%> (-0.12%)` | :arrow_down: |
   | [airflow/providers/google/cloud/hooks/base.py](https://codecov.io/gh/apache/airflow/pull/7750/diff?src=pr&el=tree#diff-YWlyZmxvdy9wcm92aWRlcnMvZ29vZ2xlL2Nsb3VkL2hvb2tzL2Jhc2UucHk=) | `96.27% <97.29%> (+0.37%)` | :arrow_up: |
   | [...low/contrib/operators/wasb\_delete\_blob\_operator.py](https://codecov.io/gh/apache/airflow/pull/7750/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy93YXNiX2RlbGV0ZV9ibG9iX29wZXJhdG9yLnB5) | `0% <0%> (-100%)` | :arrow_down: |
   | [airflow/contrib/hooks/vertica\_hook.py](https://codecov.io/gh/apache/airflow/pull/7750/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL2hvb2tzL3ZlcnRpY2FfaG9vay5weQ==) | `0% <0%> (-100%)` | :arrow_down: |
   | [airflow/contrib/sensors/\_\_init\_\_.py](https://codecov.io/gh/apache/airflow/pull/7750/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL3NlbnNvcnMvX19pbml0X18ucHk=) | `0% <0%> (-100%)` | :arrow_down: |
   | [airflow/hooks/mssql\_hook.py](https://codecov.io/gh/apache/airflow/pull/7750/diff?src=pr&el=tree#diff-YWlyZmxvdy9ob29rcy9tc3NxbF9ob29rLnB5) | `0% <0%> (-100%)` | :arrow_down: |
   | ... and [500 more](https://codecov.io/gh/apache/airflow/pull/7750/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/7750?src=pr&el=continue).
   > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/7750?src=pr&el=footer). Last update [2a54512...2bfb401](https://codecov.io/gh/apache/airflow/pull/7750?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [airflow] kaxil merged pull request #7750: [AIRFLOW-7079] Remove redundant code for storing template_fields

Posted by GitBox <gi...@apache.org>.
kaxil merged pull request #7750: [AIRFLOW-7079] Remove redundant code for storing template_fields
URL: https://github.com/apache/airflow/pull/7750
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [airflow] potiuk commented on issue #7750: [AIRFLOW-7079] Remove redundant code for storing template_fields

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #7750: [AIRFLOW-7079] Remove redundant code for storing template_fields
URL: https://github.com/apache/airflow/pull/7750#issuecomment-600191796
 
 
   However serialization tests are failing now :)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services