Skip to content

Remove dead recordResultSetIteration overloads - #1232

Merged
vikrantpuppala merged 2 commits into
databricks:mainfrom
vikrantpuppala:cleanup/remove-dead-telemetry-helper-methods
Feb 25, 2026
Merged

vikrantpuppala merged 2 commits into
databricks:mainfrom
vikrantpuppala:cleanup/remove-dead-telemetry-helper-methods

Conversation

@vikrantpuppala

Copy link
Copy Markdown
Collaborator

Summary

NO_CHANGELOG=true

Test plan

  • mvn compile passes
  • CI checks pass

🤖 Generated with Claude Code

These methods are no longer called after DatabricksResultSet switched
to using cachedTelemetryCollector directly in next().

NO_CHANGELOG=true

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Signed-off-by: Vikrant Puppala <[email protected]>
Copilot AI review requested due to automatic review settings February 25, 2026 10:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This pull request removes dead code from the TelemetryHelper class that became obsolete after PR #1223 optimized telemetry collection in DatabricksResultSet. PR #1223 introduced a cached TelemetryCollector field in DatabricksResultSet to eliminate per-row overhead, making the static helper methods in TelemetryHelper unnecessary.

Changes:

  • Removed two unused recordResultSetIteration overload methods from TelemetryHelper
  • Removed the now-unused DatabricksConnection import

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@vikrantpuppala
vikrantpuppala enabled auto-merge (squash) February 25, 2026 10:24
@vikrantpuppala
vikrantpuppala merged commit 3710687 into databricks:main Feb 25, 2026
13 checks passed
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