Skip to content

go/adbc/driver/snowflake: Using proxy to connect to snowflake #2547

@frbvianna

Description

@frbvianna

What would you like help with?

To connect to Snowflake using a SOCKS5 proxy, we might need to access the *http.Transport used by gosnowflake in its gosnowflake.Config struct.

I could not find a way to achieve this with the Go ADBC driver.

I see that we could modify the global gosnowflake.Transport but this does not seem feasible since we need to support concurrent requests that may or not use a proxy, and changing the global driver configs could cause conflicts.

Is there an alternative that you can think of?
Can we somehow set or modify the gosnowflake.Config created by the ADBC driver?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions