Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
frbvianna opened this issue Feb 24, 2025 · 0 comments
Open

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

frbvianna opened this issue Feb 24, 2025 · 0 comments
Labels
Type: question Usage question

Comments

@frbvianna
Copy link

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?

@frbvianna frbvianna added the Type: question Usage question label Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: question Usage question
Projects
None yet
Development

No branches or pull requests

1 participant