chore(ingest): drop bigquery-beta and snowflake-beta aliases (#8451)

This commit is contained in:
Harshal Sheth 2023-07-20 11:05:25 -07:00 committed by GitHub
parent 47616ff093
commit d733363bed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 30 deletions

View File

@ -14,6 +14,7 @@ This file documents any backwards-incompatible changes in DataHub and assists pe
`profile_table_level_only` together with `include_field_xyz` config options to ingest
certain column-level metrics. Instead, set `profile_table_level_only` to `false` and
individually enable / disable desired field metrics.
- #8451: The `bigquery-beta` and `snowflake-beta` source aliases have been dropped. Use `bigquery` and `snowflake` as the source type instead.
### Potential Downtime

View File

@ -292,14 +292,6 @@ plugins: Dict[str, Set[str]] = {
"sqlalchemy-bigquery>=1.4.1",
"google-cloud-datacatalog-lineage==0.2.2",
},
"bigquery-beta": sql_common
| bigquery_common
| {
*sqllineage_lib,
*sqlglot_lib,
"sql_metadata",
"sqlalchemy-bigquery>=1.4.1",
}, # deprecated, but keeping the extra for backwards compatibility
"clickhouse": sql_common | clickhouse_common,
"clickhouse-usage": sql_common | usage_common | clickhouse_common,
"datahub-lineage-file": set(),
@ -370,9 +362,6 @@ plugins: Dict[str, Set[str]] = {
"sagemaker": aws_common,
"salesforce": {"simple-salesforce"},
"snowflake": snowflake_common | usage_common | sqlglot_lib,
"snowflake-beta": (
snowflake_common | usage_common | sqlglot_lib
), # deprecated, but keeping the extra for backwards compatibility
"sqlalchemy": sql_common,
"superset": {
"requests",

View File

@ -8,25 +8,6 @@ source_registry = PluginRegistry[Source]()
source_registry.register_from_entrypoint("datahub.ingestion.source.plugins")
# Deprecations.
source_registry.register_alias(
"snowflake-beta",
"snowflake",
lambda: warnings.warn(
"source type snowflake-beta is deprecated, use snowflake instead",
ConfigurationWarning,
stacklevel=3,
),
)
source_registry.register_alias(
"bigquery-beta",
"bigquery",
lambda: warnings.warn(
"source type bigquery-beta is deprecated, use bigquery instead",
ConfigurationWarning,
stacklevel=3,
),
)
source_registry.register_alias(
"redshift-usage",
"redshift-usage-legacy",