Skip to content

Commit

Permalink
[AIRFLOW-5013] Add GCP Data Catalog Hook and operators (#7664)
Browse files Browse the repository at this point in the history
  • Loading branch information
mik-laj committed Mar 9, 2020
1 parent 29e848d commit bf9b6b6
Show file tree
Hide file tree
Showing 9 changed files with 6,688 additions and 0 deletions.
443 changes: 443 additions & 0 deletions airflow/providers/google/cloud/example_dags/example_datacatalog.py

Large diffs are not rendered by default.

1,233 changes: 1,233 additions & 0 deletions airflow/providers/google/cloud/hooks/datacatalog.py

Large diffs are not rendered by default.

1,963 changes: 1,963 additions & 0 deletions airflow/providers/google/cloud/operators/datacatalog.py

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@
'google-cloud-bigtable': ('https://googleapis.dev/python/bigtable/latest', None),
'google-cloud-container': ('https://googleapis.dev/python/container/latest', None),
'google-cloud-core': ('https://googleapis.dev/python/google-cloud-core/latest', None),
'google-cloud-datacatalog': ('https://googleapis.dev/python/datacatalog/latest', None),
'google-cloud-datastore': ('https://googleapis.dev/python/datastore/latest', None),
'google-cloud-dlp': ('https://googleapis.dev/python/dlp/latest', None),
'google-cloud-kms': ('https://googleapis.dev/python/cloudkms/latest', None),
Expand Down
614 changes: 614 additions & 0 deletions docs/howto/operator/gcp/datacatalog.rst

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions docs/operators-and-hooks-ref.rst
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,12 @@ These integrations allow you to perform various operations within the Google Clo
- :mod:`airflow.providers.google.cloud.operators.datafusion`
-

* - `Datacatalog <https://cloud.google.com/data-catalog>`__
-
- :mod:`airflow.providers.google.cloud.hooks.datacatalog`
- :mod:`airflow.providers.google.cloud.operators.datacatalog`
-

* - `Dataflow <https://cloud.google.com/dataflow/>`__
-
- :mod:`airflow.providers.google.cloud.hooks.dataflow`
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ def write_version(filename: str = os.path.join(*[dirname(__file__), "airflow", "
'google-cloud-bigquery-datatransfer>=0.4.0',
'google-cloud-bigtable>=1.0.0',
'google-cloud-container>=0.1.1',
'google-cloud-datacatalog>=0.5.0',
'google-cloud-dataproc>=0.5.0',
'google-cloud-dlp>=0.11.0',
'google-cloud-kms>=1.2.1',
Expand Down

0 comments on commit bf9b6b6

Please sign in to comment.