-
Notifications
You must be signed in to change notification settings - Fork 170
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
SNOW-1094021: Add Methods to Datasource to support further Connection Settings #1647
Comments
Hi @bahoffmann,
Would that suffice? Just FYI, you can always use the JVM arguments to set proxy settings as documented here. |
Hey @sfc-gh-wfateem , I am on my personal taste unsure if a setter would be that good, as you would overwrite a privatly instantiated object here. That is why i would just provide a getter so the user is able to work on the Snowflake provided object and never accidentally overwrite any values they might have set before. That way we can have both, convenience methods and full control over the connection properties. I highly prefer having methods or even a builder pattern that supports all connection properties, so i don't have to do a deep search as to what properties are supported and how are they called. Maybe we could get the same on the
That i didn't know thank you, could be used as a workaround in the future! |
Are there any updates, on when this will be done? If that helps, i could support this with a pull request. |
thank you for your interest in this enhancement request ! the team constantly evaluates them and tries to design/implement as resources and priorities allow. with that said, currently there is no timeline attached to this enhancement request. edit: if you (or any future reader needing an enhancement implemented) is perhaps already a Snowflake customer; please do reach out to your account team if you did not have done so and word the importance of the particular feature to them. This can help prioritize resources and efforts amongst enhancements (bugs always take priority) |
PR created #1800 |
@bahoffmann the PR has been merged and will be part of the next JDBC release. |
Hey @bahoffmann, This has now been released in v3.18.0. I'll go ahead and close the issue. Thanks for your patience! |
Thank you very much, i will update my projects asap! |
What is the current behavior?
Currently you are limited to not using the 'SnowflakeBasicDataSource' if you for example try to connect to Snowflake from behind a Proxy. This is due to a limit in Setters for the connection properties / the missing Getter for the Properties Object to add supported options.
What is the desired behavior?
I would like to extend the Class with more setters and either set a Getter for Properties or (which i think would be worse) make the Properties protected so that you could atleast extend from the 'SnowflakeBasicDataSource' to not rewrite it completly,
The text was updated successfully, but these errors were encountered: