mirror of
https://github.com/datahub-project/datahub.git
synced 2025-10-03 04:56:23 +00:00
fix(ingest/dbt): enable incremental lineage by default (#7674)
This commit is contained in:
parent
d71463041f
commit
c8abf9a1d4
1
docs-website/.gitignore
vendored
1
docs-website/.gitignore
vendored
@ -2,6 +2,7 @@
|
||||
|
||||
/docs
|
||||
/genDocs
|
||||
/genStatic
|
||||
|
||||
# Generated GraphQL
|
||||
/graphql/combined.graphql
|
||||
|
@ -267,11 +267,6 @@ class DBTCommonConfig(
|
||||
description='Regex string to extract owner from the dbt node using the `(?P<name>...) syntax` of the [match object](https://docs.python.org/3/library/re.html#match-objects), where the group name must be `owner`. Examples: (1)`r"(?P<owner>(.*)): (\\w+) (\\w+)"` will extract `jdoe` as the owner from `"jdoe: John Doe"` (2) `r"@(?P<owner>(.*))"` will extract `alice` as the owner from `"@alice"`.',
|
||||
)
|
||||
|
||||
incremental_lineage: bool = Field(
|
||||
# Copied from LineageConfig, and changed the default.
|
||||
default=False,
|
||||
description="When enabled, emits lineage as incremental to existing lineage already in DataHub. When disabled, re-states lineage on each run.",
|
||||
)
|
||||
include_env_in_assertion_guid: bool = Field(
|
||||
default=False,
|
||||
description="Prior to version 0.9.4.2, the assertion GUIDs did not include the environment. If you're using multiple dbt ingestion "
|
||||
|
@ -47,8 +47,6 @@ class DbtTestConfig:
|
||||
self.output_path = f"{tmp_path}/{self.output_file}"
|
||||
|
||||
self.golden_path = f"{test_resources_dir}/{self.golden_file}"
|
||||
|
||||
self.source_config_modifiers.setdefault("incremental_lineage", True)
|
||||
self.source_config = dict(
|
||||
{
|
||||
"manifest_path": self.manifest_path,
|
||||
@ -254,7 +252,6 @@ def test_dbt_tests(pytestconfig, tmp_path, mock_time, **kwargs):
|
||||
),
|
||||
# this is just here to avoid needing to access datahub server
|
||||
write_semantics="OVERRIDE",
|
||||
incremental_lineage=True,
|
||||
),
|
||||
),
|
||||
sink=DynamicTypedConfig(type="file", config={"filename": str(output_file)}),
|
||||
|
Loading…
x
Reference in New Issue
Block a user