Skip to content

[SNOW-3249917] JDBC removal Step 10a: Replicate remaining small JDBC classes#1132

Merged
sfc-gh-ggeng merged 1 commit intomasterfrom
jdbc-removal-step10a-replicate-remaining
Apr 2, 2026
Merged

[SNOW-3249917] JDBC removal Step 10a: Replicate remaining small JDBC classes#1132
sfc-gh-ggeng merged 1 commit intomasterfrom
jdbc-removal-step10a-replicate-remaining

Conversation

@sfc-gh-ggeng
Copy link
Copy Markdown
Contributor

Summary

Verbatim replication of remaining JDBC classes with self-contained dependency trees:

  • SFException (127 lines) — exception type used by SnowflakeSQLException and TelemetryEvent
    • Source: net.snowflake.client.core.SFException
  • HttpResponseContextDto (54 lines) — HTTP response context used by SnowflakeGCSClient
    • Source: net.snowflake.client.core.HttpResponseContextDto
  • TimeMeasurement (53 lines) — epoch microsecond timer used by ExecTimeTelemetryData
    • Source: net.snowflake.client.util.TimeMeasurement
  • ExecTimeTelemetryData (199 lines) — execution time telemetry used by SnowflakeGCSClient
    • Source: net.snowflake.client.core.ExecTimeTelemetryData
  • ThrowingCallable (9 lines) — functional interface used by HttpUtil
    • Source: net.snowflake.client.util.ThrowingCallable
  • StorageClientUtil: added getEpochTimeInMicroSeconds (from SnowflakeUtil)

Diff report

All classes replicated verbatim. Permitted differences:

  • Package declarations changed
  • @SnowflakeJdbcInternalApi removed
  • SnowflakeUtil.getEpochTimeInMicroSecondsStorageClientUtil.getEpochTimeInMicroSeconds
  • SnowflakeUtil.isNullOrEmptyStorageClientUtil.isNullOrEmpty
  • SFLogger/SFLoggerFactory → ingest versions
  • ErrorCode/ResourceBundleManager/TelemetryService/TimeMeasurement → same package

Unexpected differences: NONE

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 23:14
@sfc-gh-ggeng sfc-gh-ggeng force-pushed the jdbc-removal-step10a-replicate-remaining branch from 6b14c9b to 954d1b8 Compare March 30, 2026 23:26
@sfc-gh-ggeng sfc-gh-ggeng force-pushed the jdbc-removal-step9c-swap-telemetry-imports branch 2 times, most recently from 94fd850 to 5943e3a Compare March 30, 2026 23:45
@sfc-gh-ggeng sfc-gh-ggeng force-pushed the jdbc-removal-step10a-replicate-remaining branch from 954d1b8 to 87137be Compare March 30, 2026 23:45
@sfc-gh-ggeng sfc-gh-ggeng force-pushed the jdbc-removal-step9c-swap-telemetry-imports branch from 5943e3a to c9fad98 Compare March 30, 2026 23:51
@sfc-gh-ggeng sfc-gh-ggeng force-pushed the jdbc-removal-step10a-replicate-remaining branch 2 times, most recently from 9f9cff1 to 693cd81 Compare March 31, 2026 20:03
@sfc-gh-ggeng sfc-gh-ggeng force-pushed the jdbc-removal-step9c-swap-telemetry-imports branch 2 times, most recently from 08529fb to 783bfbc Compare April 1, 2026 06:27
@sfc-gh-ggeng sfc-gh-ggeng force-pushed the jdbc-removal-step10a-replicate-remaining branch 2 times, most recently from 76f2f03 to 96d9968 Compare April 1, 2026 17:13
@sfc-gh-ggeng sfc-gh-ggeng force-pushed the jdbc-removal-step9c-swap-telemetry-imports branch from 783bfbc to 6f83093 Compare April 1, 2026 17:13
@sfc-gh-ggeng sfc-gh-ggeng force-pushed the jdbc-removal-step10a-replicate-remaining branch from 96d9968 to 919ec03 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-step10a-replicate-remaining branch from 919ec03 to bc98550 Compare April 1, 2026 21:00
@sfc-gh-ggeng sfc-gh-ggeng force-pushed the jdbc-removal-step9c-swap-telemetry-imports branch from 53fa30c to 71eab2a Compare April 1, 2026 21:00
@sfc-gh-ggeng sfc-gh-ggeng force-pushed the jdbc-removal-step10a-replicate-remaining branch from bc98550 to 279c755 Compare April 1, 2026 23:10
@sfc-gh-ggeng sfc-gh-ggeng force-pushed the jdbc-removal-step9c-swap-telemetry-imports branch from 71eab2a to 1cb88ff Compare April 1, 2026 23:10
@sfc-gh-ggeng sfc-gh-ggeng force-pushed the jdbc-removal-step10a-replicate-remaining branch from 279c755 to 939fdf3 Compare April 2, 2026 05:35
@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
Base automatically changed from jdbc-removal-step9c-swap-telemetry-imports to master April 2, 2026 09:06
…classes

Verbatim replication of remaining JDBC classes with self-contained
dependency trees:

- SFException (127 lines) — exception type used by SnowflakeSQLException
  and TelemetryEvent. Source: net.snowflake.client.core.SFException
- HttpResponseContextDto (54 lines) — HTTP response context used by
  SnowflakeGCSClient. Source: net.snowflake.client.core.HttpResponseContextDto
- TimeMeasurement (53 lines) — epoch microsecond timer used by
  ExecTimeTelemetryData. Source: net.snowflake.client.util.TimeMeasurement
- ExecTimeTelemetryData (199 lines) — execution time telemetry used by
  SnowflakeGCSClient. Source: net.snowflake.client.core.ExecTimeTelemetryData
- ThrowingCallable (9 lines) — functional interface used by HttpUtil.
  Source: net.snowflake.client.util.ThrowingCallable
- StorageClientUtil: added getEpochTimeInMicroSeconds (from SnowflakeUtil,
  used by TimeMeasurement)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sfc-gh-ggeng sfc-gh-ggeng force-pushed the jdbc-removal-step10a-replicate-remaining branch from 939fdf3 to 99b0353 Compare April 2, 2026 09:14
@sfc-gh-ggeng sfc-gh-ggeng enabled auto-merge (squash) April 2, 2026 09:14
@sfc-gh-ggeng sfc-gh-ggeng merged commit 1d3b13a into master Apr 2, 2026
90 of 99 checks passed
@sfc-gh-ggeng sfc-gh-ggeng deleted the jdbc-removal-step10a-replicate-remaining branch April 2, 2026 19:46
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