snowflakedb / snowflake-connector-net

Snowflake Connector for .NET
Apache License 2.0
173 stars 130 forks source link

SNOW-1230345: Issue 605 still not working for role, warehouse, other tokens in the connection string that may contain spaces #888

Closed andrehartmann1968 closed 3 months ago

andrehartmann1968 commented 3 months ago

https://github.com/snowflakedb/snowflake-connector-net/issues/605

You may have fixed this for the database, but other tokens like the role and the warehouse also support spaces in their names. Even with the current version 3.0.0 this does not work. I still cannot upgrade the usage of the package beyond 2.0.17 because of this phenomenon. Could you please re-open this and fix it once and for good?

sfc-gh-dszmolka commented 3 months ago

hi and thank you for drawing our attention to this Issue - unfortunately I can confirm it still fails with the latest driver when using e.g. warehouse=\"space wh\"

we'll continue fixing this .

sfc-gh-dszmolka commented 3 months ago

PR under review https://github.com/snowflakedb/snowflake-connector-net/pull/891

sfc-gh-dszmolka commented 3 months ago

PR merged and fix will be released with the next version of the driver, towards end of March

andrehartmann1968 commented 3 months ago

PR merged and fix will be released with the next version of the driver, towards end of March

Sounds spiffing, great job!

sfc-gh-dszmolka commented 3 months ago

issue should be fixed now as the PR has been released with .NET driver 3.1.0. please feel free to test it out and let us know if you still see issues.