Skip to content

[SPARK-52428] Add DataFrame::observe() for metric collection#34

Open
rafafrdz wants to merge 1 commit intoapache:masterfrom
rafafrdz:add-dataframe-observe
Open

[SPARK-52428] Add DataFrame::observe() for metric collection#34
rafafrdz wants to merge 1 commit intoapache:masterfrom
rafafrdz:add-dataframe-observe

Conversation

@rafafrdz
Copy link
Copy Markdown

Summary

  • Add LogicalPlanBuilder::observe() wrapping plans with CollectMetrics relation
  • Add DataFrame::observe(name, exprs) for defining named metric observations
  • Replaces the // !TODO observe placeholder

Test plan

  • cargo build passes
  • cargo fmt -- --check passes

@rafafrdz rafafrdz force-pushed the add-dataframe-observe branch from 39a0d94 to 793262d Compare March 29, 2026 08:08
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.

1 participant