-
Notifications
You must be signed in to change notification settings - Fork 95
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
feat(go/adbc/driver/snowflake): add '[ADBC]' to snowflake application name #1525
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, you're trying to override the user choice...do we want that? It seems to make more sense to just pass along the user's application name if set, otherwise set a basic one indicating the driver.
My intent was to prefix to the users choice so we can still track it, but I'm fine with just having it not override at all if we think that's better. |
IMO if gosnowflake doesn't prefix we shouldn't either (does it?); and in Go and Python we should set defaults if they're not set by the user (so Snowflake can track the Go/Python drivers otherwise) |
If only there were separate user-agent and application fields |
gosnowflake has an internal application name that is not externally changeable so regardless of the User's application name, snowflake can track it's coming from the Go driver. So they don't need to prefix |
Ah...and we can't get access to that? 😅 It would be nice if we could expose this sort of thing separately |
Yeap. We can't get access to that unfortunately. They said the preferred method would be to pass it as the application name or prefix the user's choice. |
Ah, sorry...if they are OK with prefixing the user's choice then I'm ok with that too. |
Co-authored-by: David Li <[email protected]>
To help Snowflake track adoption and usage of the ADBC driver, we can explicitly add a prefix to any client application name to indicate the ADBC driver is the source of the requests.