Skip to content

[SNOW-3249917] JDBC removal Step 9c: Swap telemetry imports#1131

Merged
sfc-gh-ggeng merged 1 commit intomasterfrom
jdbc-removal-step9c-swap-telemetry-imports
Apr 2, 2026
Merged

[SNOW-3249917] JDBC removal Step 9c: Swap telemetry imports#1131
sfc-gh-ggeng merged 1 commit intomasterfrom
jdbc-removal-step9c-swap-telemetry-imports

Conversation

@sfc-gh-ggeng
Copy link
Copy Markdown
Contributor

Summary

Mechanical import swaps only — no logic changes, no method removal:

SnowflakeSQLLoggedException (6 of 12 JDBC imports swapped):

  • ObjectMapperFactory → same package
  • SqlState → same package
  • TelemetryEvent → same package (replicated in Step 9b)
  • TelemetryService (OOB) → same package (replicated in Step 9b)
  • LoginInfoDTO.SF_JDBC_APP_IDSnowflakeDriverConstants.SF_JDBC_APP_ID
  • SnowflakeDriver.implementVersionSnowflakeDriverConstants.implementVersion

Kept from JDBC (6): SFBaseSession, SFSession, SFException (parameter types), Telemetry, TelemetryField, TelemetryUtil (interact with session.getTelemetryClient() which returns JDBC types)

TelemetryClient (1 of 5 JDBC imports swapped):

  • TelemetryThreadPool → ingest version (replicated in Step 9b)

Kept from JDBC (4): HttpUtil, SFSession, SnowflakeConnectionV1, SnowflakeSQLException

Test plan

  • mvn compiler:compile passes
  • CI passes

🤖 Generated with Claude Code

@sfc-gh-ggeng sfc-gh-ggeng requested review from a team as code owners March 30, 2026 21:46
@sfc-gh-ggeng sfc-gh-ggeng force-pushed the jdbc-removal-step9b-oob-telemetry branch from 28d3946 to 8ec5aef Compare March 30, 2026 23:26
@sfc-gh-ggeng sfc-gh-ggeng force-pushed the jdbc-removal-step9c-swap-telemetry-imports branch from 83162e8 to 94fd850 Compare March 30, 2026 23:26
@sfc-gh-ggeng sfc-gh-ggeng force-pushed the jdbc-removal-step9b-oob-telemetry branch from 8ec5aef to e709177 Compare March 30, 2026 23:45
@sfc-gh-ggeng sfc-gh-ggeng force-pushed the jdbc-removal-step9c-swap-telemetry-imports branch 2 times, most recently from 5943e3a to c9fad98 Compare March 30, 2026 23:51
@sfc-gh-ggeng sfc-gh-ggeng force-pushed the jdbc-removal-step9b-oob-telemetry branch 2 times, most recently from 17ac99f to 64def8a Compare March 31, 2026 20:03
@sfc-gh-ggeng sfc-gh-ggeng force-pushed the jdbc-removal-step9c-swap-telemetry-imports branch from c9fad98 to 08529fb Compare March 31, 2026 20:03
@sfc-gh-ggeng sfc-gh-ggeng force-pushed the jdbc-removal-step9b-oob-telemetry branch from 64def8a to 69595b0 Compare April 1, 2026 06:27
@sfc-gh-ggeng sfc-gh-ggeng force-pushed the jdbc-removal-step9c-swap-telemetry-imports branch 2 times, most recently from 783bfbc to 6f83093 Compare April 1, 2026 17:13
@sfc-gh-ggeng sfc-gh-ggeng force-pushed the jdbc-removal-step9b-oob-telemetry branch 2 times, most recently from 835508d to f4bb6b5 Compare April 1, 2026 19:04
@sfc-gh-ggeng sfc-gh-ggeng force-pushed the jdbc-removal-step9c-swap-telemetry-imports branch from 6f83093 to 53fa30c Compare April 1, 2026 19:04
@sfc-gh-ggeng sfc-gh-ggeng force-pushed the jdbc-removal-step9b-oob-telemetry branch from f4bb6b5 to 43f0c5d Compare April 1, 2026 21:00
@sfc-gh-ggeng sfc-gh-ggeng force-pushed the jdbc-removal-step9c-swap-telemetry-imports branch 2 times, most recently from 71eab2a to 1cb88ff Compare April 1, 2026 23:10
@sfc-gh-ggeng sfc-gh-ggeng force-pushed the jdbc-removal-step9b-oob-telemetry branch from 43f0c5d to 6aa92e0 Compare April 1, 2026 23:10
Base automatically changed from jdbc-removal-step9b-oob-telemetry to master April 2, 2026 00:48
Mechanical import swaps only — no logic changes:

SnowflakeSQLLoggedException (6 of 12 JDBC imports swapped):
- ObjectMapperFactory → same package (already replicated)
- SqlState → same package (already replicated)
- TelemetryEvent → same package (replicated in Step 9b)
- TelemetryService (OOB) → same package (replicated in Step 9b)
- LoginInfoDTO.SF_JDBC_APP_ID → SnowflakeDriverConstants.SF_JDBC_APP_ID
- SnowflakeDriver.implementVersion → SnowflakeDriverConstants.implementVersion
Kept from JDBC: SFBaseSession, SFSession, SFException (parameter types),
  Telemetry, TelemetryField, TelemetryUtil (interact with session.getTelemetryClient())

TelemetryClient (1 of 5 JDBC imports swapped):
- TelemetryThreadPool → ingest version (replicated in Step 9b)
Kept from JDBC: HttpUtil, SFSession, SnowflakeConnectionV1, SnowflakeSQLException

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sfc-gh-ggeng sfc-gh-ggeng force-pushed the jdbc-removal-step9c-swap-telemetry-imports branch from 1cb88ff to 63cdb21 Compare April 2, 2026 05:35
@sfc-gh-ggeng sfc-gh-ggeng enabled auto-merge (squash) April 2, 2026 07:10
@sfc-gh-ggeng sfc-gh-ggeng merged commit e1a5541 into master Apr 2, 2026
88 of 99 checks passed
@sfc-gh-ggeng sfc-gh-ggeng deleted the jdbc-removal-step9c-swap-telemetry-imports branch April 2, 2026 09:06
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.

2 participants