Support dbt Core 1.10 by updating manifest v12#157
Conversation
Signed-off-by: Yu Ishikawa <yu-iskw@users.noreply.github.com>
|
Caution Review failedThe pull request is closed. WalkthroughThis update revises the manifest schema in Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Parser
participant ManifestSchema
User->>Parser: Parse manifest v12 artifact
Parser->>ManifestSchema: Instantiate models (with new Quoting, Freshness, doc_blocks, etc.)
ManifestSchema-->>Parser: Return parsed structured data
Parser-->>User: Provide parsed manifest with updated schema
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 Pylint (3.3.7)dbt_artifacts_parser/__init__.pydbt_artifacts_parser/parsers/manifest/manifest_v12.py📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (3)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. 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:
|
|||||||||||
PR Type
Enhancement
Description
• Updated dbt artifacts parser to support dbt Core 1.10 by implementing manifest v12 schema changes
• Added new
Quotingclass and updatedMetadataclass withinvocation_started_atandquotingfields• Enhanced multiple node and column classes with
doc_blocksfield support• Added freshness-related classes (
BuildAfter,Freshness,UpdatesOn,Period) for improved data freshness handling• Updated
Sourcesclass to includeloaded_at_queryfield and changedOwner.emailto support both string and list types• Added
tagsandmetafields to various configuration classes for better metadata management• Simplified granularity fields from enum types to string types across multiple classes
• Bumped package version from 0.8.3 to 0.9.0
• Updated version compatibility documentation to reflect dbt 1.7-1.10 support
Changes walkthrough 📝
manifest_v12.py
Update manifest v12 parser for dbt Core 1.10 supportdbt_artifacts_parser/parsers/manifest/manifest_v12.py
• Added new
Quotingclass and moved it to the top of the file•
Updated
dbt_versionfrom '1.9.4' to '1.10.0b3' inMetadataclass•
Added
invocation_started_atandquotingfields toMetadataclass•
Added
doc_blocksfield to multiple column and node classes throughoutthe file
• Added freshness-related classes (
BuildAfter,Freshness,UpdatesOn,Periodenums)• Updated
Sourcesclass to includeloaded_at_queryfield• Changed
Owner.emailfield type fromstrtoUnion[str, List[str]]• Added
tagsandmetafields to various configclasses
• Simplified granularity fields from enum types to string
types in multiple classes
• Added configuration fields to entity,
measure, and dimension classes
__init__.py
Bump package version to 0.9.0dbt_artifacts_parser/init.py
• Updated package version from "0.8.3" to "0.9.0"
manifest_v12.json
Update manifest schema for dbt Core 1.10 compatibilitydbt_artifacts_parser/resources/manifest/manifest_v12.json
• Updated default dbt version from "1.9.4" to "1.10.0b3"
• Added new
invocation_started_atfield with string/null type support• Added
comprehensive
quotingconfiguration object with database, schema,identifier, and column properties
• Added
doc_blocksarray field tomultiple resource types (models, macros, sources, etc.)
• Added
freshnessconfiguration withbuild_aftersettings for models• Added
loaded_at_queryfield for sources• Enhanced semantic layer elements
with
configobjects containing meta properties• Added
tagsfieldsupport for saved queries and exposures
• Simplified array formatting
throughout the schema (inline bracket notation)
• Updated time
granularity enums to use generic string type instead of specific enum
values
README.md
Update version compatibility table for dbt 1.10 supportREADME.md
• Added new row to version compatibility table showing version 0.9
supports dbt 1.7 to 1.10