Skip to content

Add rows_affected and other build metadata to run_results adapter_response #1607

Description

@tweavers

Describe the feature

Some dbt adapters include rows_affected in the adapter response after building a model via run_results. This is incredibly helpful from a monitoring perspective and something that we leveraged up until recently coming from the dbt-supported Postgres adapter.

Describe alternatives you've considered

Alternative would be to develop a custom post-hook to store this data separately. This would be nowhere near as performant as the cached query proposed in the earlier PR, and would also be very difficult to row counts for incremental models

Additional context

This was work previously in-flight in late 2024 / early 2025 but was never merged after a design change. Closed PR linked below for reference
#883

Who will this benefit?

  • Users of dbt artifacts to monitor pipeline jobs

Are you interested in contributing this feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions