Skip to content

Conversation

@ZiyaZa
Copy link
Contributor

@ZiyaZa ZiyaZa commented Nov 25, 2025

Which Delta project/connector is this regarding?

  • Spark
  • Standalone
  • Flink
  • Kernel
  • Other (fill in here)

Description

This PR moves the numTargetRowsInserted metric to a filter in InsertOnlyMergeExecutor to make it resistant to pruning.

How was this patch tested?

There are existing unit-tests for the value of this metric.

Does this PR introduce any user-facing changes?

No.

@ZiyaZa ZiyaZa changed the title Move numTargetRowsInserted metric to a filter in insert-only merge [Spark] Move numTargetRowsInserted metric to a filter in insert-only merge Nov 25, 2025
Copy link
Contributor

@andreaschat-db andreaschat-db left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you for fixing this.

@zachschuermann zachschuermann merged commit 3989019 into delta-io:master Nov 25, 2025
20 checks passed
zikangh pushed a commit to zikangh/delta that referenced this pull request Nov 26, 2025
…merge (delta-io#5575)

#### Which Delta project/connector is this regarding?

- [x] Spark
- [ ] Standalone
- [ ] Flink
- [ ] Kernel
- [ ] Other (fill in here)

## Description

This PR moves the `numTargetRowsInserted` metric to a filter in
`InsertOnlyMergeExecutor` to make it resistant to pruning.

## How was this patch tested?

There are existing unit-tests for the value of this metric.

## Does this PR introduce _any_ user-facing changes?

No.
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.

3 participants