-
Notifications
You must be signed in to change notification settings - Fork 20
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
Update Manifest v12 and run-results v6 json schemas #143
base: main
Are you sure you want to change the base?
Update Manifest v12 and run-results v6 json schemas #143
Conversation
WalkthroughThe pull request introduces significant changes to the Changes
Sequence DiagramsequenceDiagram
participant Manifest as ManifestV12
participant Nodes as NodesClass
participant Freshness as FreshnessClass
participant Dependency as DependencyClass
Manifest->>Nodes: Add optional freshness attribute
Nodes->>Freshness: Create freshness configuration
Manifest->>Dependency: Update dependency types
Dependency->>Nodes: Apply new dependency management
Possibly related PRs
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (2)
🔇 Additional comments (28)
Finishing Touches
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
@SumanMaharana Thank you for the contribution. However, I want to catch up with only the stable version, as the schema can be changed while releasing the next stable version. https://github.com/yu-iskw/dbt-artifacts-parser/blob/main/CONTRIBUTING.md#implementation-policy |
@yu-iskw So this can only be accepted after the release of dbt-core |
@SumanMaharana The https://github.com/dbt-labs/dbt-core/releases/tag/v1.9.1 I suppose that dbt-artifacts-parser v0.8.2 should work as long as you use a stable version of dbt-core. Did you encounter any issue with incompatibility to your dbt environment? |
@yu-iskw I used the artifacts generated by the dbt cloud. While parsing those artifacts, validation errors are being thrown for the entire manifest file and the run_results file. |
@SumanMaharana I see. Do the schemas on the |
The Error is on the whole manifest file(its too long to be shared here) you can just use this manifest file and run it it generates the same error. |
@SumanMaharana Let me clarify what you did. Did you try to parse this manifest file with dbt-artifacts-parser? This package is used for parsing dbt artifacts, not for those JSON schemas. |
@yu-iskw Nope ohh my bad i pasted the wrong link in there. i know that manifest is used to generate the python model its not the actual manifest. |
User description
Update Manifest v12 and run-results v6 json schemas
PR Type
Enhancement, Bug fix
Description
Updated
dbt_version
default values in multiple schemas to1.10.0a1
.Introduced new
freshness
property inmanifest_v12
schema with nested configurations.Replaced enumerations with string types for granularity and grain-related fields in schemas.
Added new
no-op
status torun-results_v6
schema.Changes walkthrough 📝
manifest_v12.py
Enhance manifest parser with freshness and granularity updates
dbt_artifacts_parser/parsers/manifest/manifest_v12.py
dbt_version
default to1.10.0a1
.freshness
property with nestedbuild_after
configuration.depends_on
references to new classes.run_results_v6.py
Update run-results parser with new status
dbt_artifacts_parser/parsers/run_results/run_results_v6.py
dbt_version
default to1.10.0a1
.no-op
status toStatus
enum.manifest_v12.json
Update manifest schema with freshness and tags
dbt_artifacts_parser/resources/manifest/manifest_v12.json
dbt_version
default to1.10.0a1
.freshness
property with nestedbuild_after
configuration.tags
property with string or array options.run-results_v6.json
Update run-results schema with new status
dbt_artifacts_parser/resources/run-results/run-results_v6.json
dbt_version
default to1.10.0a1
.no-op
status tostatus
property.