Skip to content

fix(csharp): use consistent user agent for SEA and Thrift modes#317

Open
eric-wang-1990 wants to merge 2 commits intomainfrom
worktree-fix-sea-user-agent
Open

fix(csharp): use consistent user agent for SEA and Thrift modes#317
eric-wang-1990 wants to merge 2 commits intomainfrom
worktree-fix-sea-user-agent

Conversation

@eric-wang-1990
Copy link
Collaborator

Summary

  • SEA mode was using a hardcoded DatabricksJDBCDriverOSS/{version} (ADBC) user agent
  • Now uses UserAgentHelper.GetUserAgent — the same as Thrift mode — producing AdbcDatabricksDriver/{version}
  • Also respects the adbc.spark.user_agent_entry property for custom suffixes, consistent with Thrift behavior

Replace the hardcoded DatabricksJDBCDriverOSS user agent in SEA mode
with UserAgentHelper.GetUserAgent, matching the Thrift mode format
(AdbcDatabricksDriver/{version}).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…S user agent

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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