This repository has been archived by the owner on Jan 27, 2025. It is now read-only.
forked from datahub-project/datahub
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ingest): bigquery - Promoting bigquery-beta to bigquery source (d…
…atahub-project#6222) Co-authored-by: Shirshanka Das <shirshanka@apache.org>
- Loading branch information
Showing
11 changed files
with
45 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
To get all metadata from BigQuery you need to use two plugins `bigquery` and `bigquery-usage`. Both of them are described in this page. These will require 2 separate recipes. We understand this is not ideal and we plan to make this easier in the future. | ||
Ingesting metadata from Bigquery requires either using the **bigquery** module with just one recipe (recommended) or the two separate modules **bigquery-legacy** and **bigquery-usage-legacy** (soon to be deprecated) with two separate recipes. |
File renamed without changes.
11 changes: 5 additions & 6 deletions
11
...sources/bigquery/bigquery-beta_recipe.yml → ...urces/bigquery/bigquery-legacy_recipe.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,21 @@ | ||
source: | ||
type: bigquery-beta | ||
type: bigquery-legacy | ||
config: | ||
# Coordinates | ||
project_id: my_project_id | ||
|
||
# `schema_pattern` for BQ Datasets | ||
schema_pattern: | ||
allow: | ||
- finance_bq_dataset | ||
|
||
table_pattern: | ||
deny: | ||
# The exact name of the table is revenue_table_name | ||
# The reason we have this `.*` at the beginning is because the current implmenetation of table_pattern is testing | ||
# project_id.dataset_name.table_name | ||
# We will improve this in the future | ||
- .*revenue_table_name | ||
include_table_lineage: true | ||
include_usage_statistics: true | ||
profiling: | ||
enabled: true | ||
profile_table_level_only: true | ||
|
||
sink: | ||
# sink configs |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...ources/bigquery/bigquery-usage_recipe.yml → ...bigquery/bigquery-usage-legacy_recipe.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
source: | ||
type: bigquery-usage | ||
type: bigquery-usage-legacy | ||
config: | ||
# Coordinates | ||
projects: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
source: | ||
type: bigquery | ||
config: | ||
# Coordinates | ||
project_id: my_project_id | ||
|
||
# `schema_pattern` for BQ Datasets | ||
schema_pattern: | ||
allow: | ||
- finance_bq_dataset | ||
|
||
table_pattern: | ||
deny: | ||
# The exact name of the table is revenue_table_name | ||
# The reason we have this `.*` at the beginning is because the current implmenetation of table_pattern is testing | ||
# project_id.dataset_name.table_name | ||
# We will improve this in the future | ||
- .*revenue_table_name | ||
include_table_lineage: true | ||
include_usage_statistics: true | ||
profiling: | ||
enabled: true | ||
profile_table_level_only: true | ||
|
||
sink: | ||
# sink configs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.