Skip to content

Go: Add helper function for retrieving/formatting driver version info #3238

@Mandukhai-Alimaa

Description

@Mandukhai-Alimaa

What feature or improvement would you like to see?

Currently, retrieving the driver version string in the ADBC Go driver involves a fairly complex process that includes:

  • Querying driver info codes (InfoDriverName and InfoDriverVersion)
  • Handling streaming record batches and union arrays
  • Extracting and safely cloning string values
  • Managing errors and fallback defaults

Because of this complexity, it would be helpful to provide an upstream helper function that encapsulates this logic and returns the driver version string.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions