Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add dbt 1.8 support #35

Closed
wants to merge 14 commits into from
Closed

feat: add dbt 1.8 support #35

wants to merge 14 commits into from

Conversation

gaurpulkit
Copy link
Contributor

No description provided.

@gaurpulkit gaurpulkit requested a review from suryaiyer95 May 22, 2024 10:22
from datapilot.core.platforms.dbt.constants import GENERIC
from datapilot.core.platforms.dbt.constants import SINGULAR

ManifestNode = Union[
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RPCNode which was present in v11 isn't available here

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is this Nodes1?

docs=seed.docs.dict() if seed.docs else None,
patch_path=seed.patch_path,
build_path=seed.build_path,
deferred=False, # seed.deferred isn't present in ManifestV12
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@suryaiyer95 deferred isn't available in v12

@suryaiyer95
Copy link
Collaborator

tests seem to be failing :

E UserWarning: Field "model_unique_id" has conflict with protected namespace "model_".

raw_code,
language,
contract,
) = ([], [], None, None, None, None, None, "", "", None)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you do? Not readable this way

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better to put None. As list is mutable, wierd things can happen

@@ -8,7 +8,7 @@ def generate_ci_cd_report(insights_data):
for insight in insights_data:
print(divider)
print(f"Project: {insight.package_name}")
print(f"Model ID: {insight.model_unique_id}")
print(f"Model ID: {insight.altimate_unique_id}")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's revert this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants