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/04/13 20:00:16 UTC

[GitHub] [airflow] alexandraabbas opened a new pull request #8276: [Airflow-6295] Create guide for BigQuery operators

alexandraabbas opened a new pull request #8276: [Airflow-6295] Create guide for BigQuery operators
URL: https://github.com/apache/airflow/pull/8276
 
 
   Fixes [AIRFLOW-6295](https://issues.apache.org/jira/browse/AIRFLOW-6295) / issue [#8200](https://github.com/apache/airflow/issues/8200).
   
   I created a guide that describes how to use BigQuery service operators. 
   
   I added BigQueryCheckOperator, BigQueryValueCheckOperator, BigQueryIntervalCheckOperator to the example DAG.
   
   ---
   Make sure to mark the boxes below before creating PR: [x]
   
   - [x] Description above provides context of the change
   - [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).
   
   ---
   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] alexandraabbas commented on issue #8276: [AIRFLOW-6295] Create guide for BigQuery operators

Posted by GitBox <gi...@apache.org>.
alexandraabbas commented on issue #8276: [AIRFLOW-6295] Create guide for BigQuery operators
URL: https://github.com/apache/airflow/pull/8276#issuecomment-613699282
 
 
   Yay! I work a lot with Airflow on GCP so I'll probably contribute more around that :)

----------------------------------------------------------------
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 edited a comment on issue #8276: [Airflow-6295] Create guide for BigQuery operators

Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #8276: [Airflow-6295] Create guide for BigQuery operators
URL: https://github.com/apache/airflow/pull/8276#issuecomment-613415905
 
 
   # [Codecov](https://codecov.io/gh/apache/airflow/pull/8276?src=pr&el=h1) Report
   > Merging [#8276](https://codecov.io/gh/apache/airflow/pull/8276?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/b11891696946d1461174b385c88d6af8abb99768&el=desc) will **increase** coverage by `0.72%`.
   > The diff coverage is `100.00%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/8276/graphs/tree.svg?width=650&height=150&src=pr&token=WdLKlKHOAU)](https://codecov.io/gh/apache/airflow/pull/8276?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master    #8276      +/-   ##
   ==========================================
   + Coverage   86.92%   87.64%   +0.72%     
   ==========================================
     Files         920      937      +17     
     Lines       44387    45238     +851     
   ==========================================
   + Hits        38582    39651    +1069     
   + Misses       5805     5587     -218     
   ```
   
   
   | [Impacted Files](https://codecov.io/gh/apache/airflow/pull/8276?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [...ders/google/cloud/example\_dags/example\_bigquery.py](https://codecov.io/gh/apache/airflow/pull/8276/diff?src=pr&el=tree#diff-YWlyZmxvdy9wcm92aWRlcnMvZ29vZ2xlL2Nsb3VkL2V4YW1wbGVfZGFncy9leGFtcGxlX2JpZ3F1ZXJ5LnB5) | `100.00% <100.00%> (ø)` | |
   | [...flow/providers/apache/cassandra/hooks/cassandra.py](https://codecov.io/gh/apache/airflow/pull/8276/diff?src=pr&el=tree#diff-YWlyZmxvdy9wcm92aWRlcnMvYXBhY2hlL2Nhc3NhbmRyYS9ob29rcy9jYXNzYW5kcmEucHk=) | `21.25% <0.00%> (-72.43%)` | :arrow_down: |
   | [...w/providers/apache/hive/operators/mysql\_to\_hive.py](https://codecov.io/gh/apache/airflow/pull/8276/diff?src=pr&el=tree#diff-YWlyZmxvdy9wcm92aWRlcnMvYXBhY2hlL2hpdmUvb3BlcmF0b3JzL215c3FsX3RvX2hpdmUucHk=) | `35.84% <0.00%> (-64.16%)` | :arrow_down: |
   | [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/8276/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0.00%> (-55.56%)` | :arrow_down: |
   | [airflow/providers/postgres/operators/postgres.py](https://codecov.io/gh/apache/airflow/pull/8276/diff?src=pr&el=tree#diff-YWlyZmxvdy9wcm92aWRlcnMvcG9zdGdyZXMvb3BlcmF0b3JzL3Bvc3RncmVzLnB5) | `47.82% <0.00%> (-52.18%)` | :arrow_down: |
   | [airflow/providers/redis/operators/redis\_publish.py](https://codecov.io/gh/apache/airflow/pull/8276/diff?src=pr&el=tree#diff-YWlyZmxvdy9wcm92aWRlcnMvcmVkaXMvb3BlcmF0b3JzL3JlZGlzX3B1Ymxpc2gucHk=) | `50.00% <0.00%> (-50.00%)` | :arrow_down: |
   | [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/8276/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0.00%> (-47.06%)` | :arrow_down: |
   | [airflow/providers/mongo/sensors/mongo.py](https://codecov.io/gh/apache/airflow/pull/8276/diff?src=pr&el=tree#diff-YWlyZmxvdy9wcm92aWRlcnMvbW9uZ28vc2Vuc29ycy9tb25nby5weQ==) | `53.33% <0.00%> (-46.67%)` | :arrow_down: |
   | [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/8276/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `47.18% <0.00%> (-45.08%)` | :arrow_down: |
   | [airflow/providers/mysql/operators/mysql.py](https://codecov.io/gh/apache/airflow/pull/8276/diff?src=pr&el=tree#diff-YWlyZmxvdy9wcm92aWRlcnMvbXlzcWwvb3BlcmF0b3JzL215c3FsLnB5) | `55.00% <0.00%> (-45.00%)` | :arrow_down: |
   | ... and [258 more](https://codecov.io/gh/apache/airflow/pull/8276/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/8276?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/8276?src=pr&el=footer). Last update [b118916...ab1a5b9](https://codecov.io/gh/apache/airflow/pull/8276?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] mik-laj merged pull request #8276: [AIRFLOW-6295] Create guide for BigQuery operators

Posted by GitBox <gi...@apache.org>.
mik-laj merged pull request #8276: [AIRFLOW-6295] Create guide for BigQuery operators
URL: https://github.com/apache/airflow/pull/8276
 
 
   

----------------------------------------------------------------
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] mik-laj commented on issue #8276: [AIRFLOW-6295] Create guide for BigQuery operators

Posted by GitBox <gi...@apache.org>.
mik-laj commented on issue #8276: [AIRFLOW-6295] Create guide for BigQuery operators
URL: https://github.com/apache/airflow/pull/8276#issuecomment-613701658
 
 
   Airflow has a very active GCP user community.  For sure you won't run out of tasks. 😸 I will try to regularly create new tickets with the ["provider: GCP" label](https://github.com/apache/airflow/issues?q=is%3Aissue+is%3Aopen+label%3Aprovider%3AGCP)

----------------------------------------------------------------
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] alexandraabbas commented on issue #8276: [Airflow-6295] Create guide for BigQuery operators

Posted by GitBox <gi...@apache.org>.
alexandraabbas commented on issue #8276: [Airflow-6295] Create guide for BigQuery operators
URL: https://github.com/apache/airflow/pull/8276#issuecomment-613643391
 
 
   @mik-laj I added subtitles for each operator except `BigQueryExecuteQueryOperator` as that is the only operator discussed in the section "Execute queries".

----------------------------------------------------------------
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] mik-laj commented on issue #8276: [AIRFLOW-6295] Create guide for BigQuery operators

Posted by GitBox <gi...@apache.org>.
mik-laj commented on issue #8276: [AIRFLOW-6295] Create guide for BigQuery operators
URL: https://github.com/apache/airflow/pull/8276#issuecomment-613694828
 
 
   One more thing. Can you add this guide to the operators refence list?
   https://github.com/apache/airflow/blob/master/docs/operators-and-hooks-ref.rst
   https://airflow.readthedocs.io/en/latest/operators-and-hooks-ref.html

----------------------------------------------------------------
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] mik-laj commented on issue #8276: [Airflow-6295] Create guide for BigQuery operators

Posted by GitBox <gi...@apache.org>.
mik-laj commented on issue #8276: [Airflow-6295] Create guide for BigQuery operators
URL: https://github.com/apache/airflow/pull/8276#issuecomment-613569372
 
 
   Hi. Thank you for the guide, but could you put each operator in a separate section / subsection. This is important because it makes it much easier to find the information you need. 
   
   Here ie example of guide with many section  ("Managing an entries"), and subsection ("Creating an entries")

----------------------------------------------------------------
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 #8276: [Airflow-6295] Create guide for BigQuery operators

Posted by GitBox <gi...@apache.org>.
codecov-io commented on issue #8276: [Airflow-6295] Create guide for BigQuery operators
URL: https://github.com/apache/airflow/pull/8276#issuecomment-613415905
 
 
   # [Codecov](https://codecov.io/gh/apache/airflow/pull/8276?src=pr&el=h1) Report
   > Merging [#8276](https://codecov.io/gh/apache/airflow/pull/8276?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/b11891696946d1461174b385c88d6af8abb99768&el=desc) will **increase** coverage by `0.72%`.
   > The diff coverage is `100.00%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/8276/graphs/tree.svg?width=650&height=150&src=pr&token=WdLKlKHOAU)](https://codecov.io/gh/apache/airflow/pull/8276?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master    #8276      +/-   ##
   ==========================================
   + Coverage   86.92%   87.64%   +0.72%     
   ==========================================
     Files         920      937      +17     
     Lines       44387    45238     +851     
   ==========================================
   + Hits        38582    39651    +1069     
   + Misses       5805     5587     -218     
   ```
   
   
   | [Impacted Files](https://codecov.io/gh/apache/airflow/pull/8276?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [...ders/google/cloud/example\_dags/example\_bigquery.py](https://codecov.io/gh/apache/airflow/pull/8276/diff?src=pr&el=tree#diff-YWlyZmxvdy9wcm92aWRlcnMvZ29vZ2xlL2Nsb3VkL2V4YW1wbGVfZGFncy9leGFtcGxlX2JpZ3F1ZXJ5LnB5) | `100.00% <100.00%> (ø)` | |
   | [...flow/providers/apache/cassandra/hooks/cassandra.py](https://codecov.io/gh/apache/airflow/pull/8276/diff?src=pr&el=tree#diff-YWlyZmxvdy9wcm92aWRlcnMvYXBhY2hlL2Nhc3NhbmRyYS9ob29rcy9jYXNzYW5kcmEucHk=) | `21.25% <0.00%> (-72.43%)` | :arrow_down: |
   | [...w/providers/apache/hive/operators/mysql\_to\_hive.py](https://codecov.io/gh/apache/airflow/pull/8276/diff?src=pr&el=tree#diff-YWlyZmxvdy9wcm92aWRlcnMvYXBhY2hlL2hpdmUvb3BlcmF0b3JzL215c3FsX3RvX2hpdmUucHk=) | `35.84% <0.00%> (-64.16%)` | :arrow_down: |
   | [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/8276/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0.00%> (-55.56%)` | :arrow_down: |
   | [airflow/providers/postgres/operators/postgres.py](https://codecov.io/gh/apache/airflow/pull/8276/diff?src=pr&el=tree#diff-YWlyZmxvdy9wcm92aWRlcnMvcG9zdGdyZXMvb3BlcmF0b3JzL3Bvc3RncmVzLnB5) | `47.82% <0.00%> (-52.18%)` | :arrow_down: |
   | [airflow/providers/redis/operators/redis\_publish.py](https://codecov.io/gh/apache/airflow/pull/8276/diff?src=pr&el=tree#diff-YWlyZmxvdy9wcm92aWRlcnMvcmVkaXMvb3BlcmF0b3JzL3JlZGlzX3B1Ymxpc2gucHk=) | `50.00% <0.00%> (-50.00%)` | :arrow_down: |
   | [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/8276/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0.00%> (-47.06%)` | :arrow_down: |
   | [airflow/providers/mongo/sensors/mongo.py](https://codecov.io/gh/apache/airflow/pull/8276/diff?src=pr&el=tree#diff-YWlyZmxvdy9wcm92aWRlcnMvbW9uZ28vc2Vuc29ycy9tb25nby5weQ==) | `53.33% <0.00%> (-46.67%)` | :arrow_down: |
   | [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/8276/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `47.18% <0.00%> (-45.08%)` | :arrow_down: |
   | [airflow/providers/mysql/operators/mysql.py](https://codecov.io/gh/apache/airflow/pull/8276/diff?src=pr&el=tree#diff-YWlyZmxvdy9wcm92aWRlcnMvbXlzcWwvb3BlcmF0b3JzL215c3FsLnB5) | `55.00% <0.00%> (-45.00%)` | :arrow_down: |
   | ... and [258 more](https://codecov.io/gh/apache/airflow/pull/8276/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/8276?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/8276?src=pr&el=footer). Last update [b118916...ab1a5b9](https://codecov.io/gh/apache/airflow/pull/8276?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] alexandraabbas commented on issue #8276: [AIRFLOW-6295] Create guide for BigQuery operators

Posted by GitBox <gi...@apache.org>.
alexandraabbas commented on issue #8276: [AIRFLOW-6295] Create guide for BigQuery operators
URL: https://github.com/apache/airflow/pull/8276#issuecomment-613697383
 
 
   I added the bigquery howto to `operators-and-hooks-ref.rst`

----------------------------------------------------------------
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] mik-laj commented on a change in pull request #8276: [Airflow-6295] Create guide for BigQuery operators

Posted by GitBox <gi...@apache.org>.
mik-laj commented on a change in pull request #8276: [Airflow-6295] Create guide for BigQuery operators
URL: https://github.com/apache/airflow/pull/8276#discussion_r408434837
 
 

 ##########
 File path: docs/howto/operator/gcp/bigquery.rst
 ##########
 @@ -0,0 +1,334 @@
+ .. Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+ ..   http://www.apache.org/licenses/LICENSE-2.0
+
+ .. Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+Google Cloud BigQuery Operators
+===============================
+
+`BigQuery <https://cloud.google.com/bigquery/>`__ is Google's fully managed, petabyte
+scale, low cost analytics data warehouse. It is a serverless Software as a Service
+(SaaS) that doesn't need a database administrator. It allows users to focus on
+analyzing data to find meaningful insights using familiar SQL.
+
+Airflow provides operators to manage datasets and tables, run queries and validate
+data.
+
+.. contents::
+  :depth: 1
+  :local:
+
+Prerequisite Tasks
+^^^^^^^^^^^^^^^^^^
+
+.. include:: _partials/prerequisite_tasks.rst
+
+.. _howto/operator:BigQueryCreateEmptyDatasetOperator:
+.. _howto/operator:BigQueryGetDatasetOperator:
+.. _howto/operator:BigQueryGetDatasetTablesOperator:
+.. _howto/operator:BigQueryPatchDatasetOperator:
+.. _howto/operator:BigQueryUpdateDatasetOperator:
+.. _howto/operator:BigQueryDeleteDatasetOperator:
 
 Review comment:
   Can you move these labels closer to the corresponding sections, please?  This is the last request because the rest looks good.

----------------------------------------------------------------
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] boring-cyborg[bot] commented on issue #8276: [Airflow-6295] Create guide for BigQuery operators

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #8276: [Airflow-6295] Create guide for BigQuery operators
URL: https://github.com/apache/airflow/pull/8276#issuecomment-613069827
 
 
   Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contribution Guide (https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst)
   Here are some useful points:
   - Pay attention to the quality of your code (flake8, pylint and type annotations). Our [pre-commits]( https://github.com/apache/airflow/blob/master/STATIC_CODE_CHECKS.rst#prerequisites-for-pre-commit-hooks) will help you with that.
   - In case of a new feature add useful documentation (in docstrings or in `docs/` directory). Adding a new operator? Check this short [guide](https://github.com/apache/airflow/blob/master/docs/howto/custom-operator.rst) Consider adding an example DAG that shows how users should use it.
   - Consider using [Breeze environment](https://github.com/apache/airflow/blob/master/BREEZE.rst) for testing locally, it’s a heavy docker but it ships with a working Airflow and a lot of integrations.
   - Be patient and persistent. It might take some time to get a review or get the final approval from Committers.
   - Be sure to read the [Airflow Coding style]( https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst#coding-style-and-best-practices).
   Apache Airflow is a community-driven project and together we are making it better 🚀.
   In case of doubts contact the developers at:
   Mailing List: dev@airflow.apache.org
   Slack: https://apache-airflow-slack.herokuapp.com/
   

----------------------------------------------------------------
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] boring-cyborg[bot] commented on issue #8276: [AIRFLOW-6295] Create guide for BigQuery operators

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #8276: [AIRFLOW-6295] Create guide for BigQuery operators
URL: https://github.com/apache/airflow/pull/8276#issuecomment-613745467
 
 
   Awesome work, congrats on your first merged pull request!
   

----------------------------------------------------------------
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] alexandraabbas commented on a change in pull request #8276: [AIRFLOW-6295] Create guide for BigQuery operators

Posted by GitBox <gi...@apache.org>.
alexandraabbas commented on a change in pull request #8276: [AIRFLOW-6295] Create guide for BigQuery operators
URL: https://github.com/apache/airflow/pull/8276#discussion_r408449738
 
 

 ##########
 File path: docs/howto/operator/gcp/bigquery.rst
 ##########
 @@ -0,0 +1,334 @@
+ .. Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+ ..   http://www.apache.org/licenses/LICENSE-2.0
+
+ .. Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+Google Cloud BigQuery Operators
+===============================
+
+`BigQuery <https://cloud.google.com/bigquery/>`__ is Google's fully managed, petabyte
+scale, low cost analytics data warehouse. It is a serverless Software as a Service
+(SaaS) that doesn't need a database administrator. It allows users to focus on
+analyzing data to find meaningful insights using familiar SQL.
+
+Airflow provides operators to manage datasets and tables, run queries and validate
+data.
+
+.. contents::
+  :depth: 1
+  :local:
+
+Prerequisite Tasks
+^^^^^^^^^^^^^^^^^^
+
+.. include:: _partials/prerequisite_tasks.rst
+
+.. _howto/operator:BigQueryCreateEmptyDatasetOperator:
+.. _howto/operator:BigQueryGetDatasetOperator:
+.. _howto/operator:BigQueryGetDatasetTablesOperator:
+.. _howto/operator:BigQueryPatchDatasetOperator:
+.. _howto/operator:BigQueryUpdateDatasetOperator:
+.. _howto/operator:BigQueryDeleteDatasetOperator:
 
 Review comment:
   Sure, no worries. I moved each label above the section it belongs to. 

----------------------------------------------------------------
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] mik-laj edited a comment on issue #8276: [AIRFLOW-6295] Create guide for BigQuery operators

Posted by GitBox <gi...@apache.org>.
mik-laj edited a comment on issue #8276: [AIRFLOW-6295] Create guide for BigQuery operators
URL: https://github.com/apache/airflow/pull/8276#issuecomment-613694828
 
 
   One more thing. Can you add this guide to the operators reference?
   https://github.com/apache/airflow/blob/master/docs/operators-and-hooks-ref.rst
   https://airflow.readthedocs.io/en/latest/operators-and-hooks-ref.html

----------------------------------------------------------------
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