Repository navigation
Fix chat_snowflake - #694
Conversation
|
I'm very happy to see the Privatelink support! I'm a bit apprehensive about the other change; Snowflake's APIs were heavily in flux when I was last working on this (in June), and it's possible they've made a change that causes this previously working code to break. I will try to verify against our Snowflake dev environments shortly. |
Yes, Snowflake's APIs do seem to be changing a lot. Feel free to @ me if you want me to run the tests in our Snowflake environment or do any kind of testing related to Snowflake functionality. I'm happy to help. |
a268486 to
55a9464
Compare
|
Confirmed that this change fixes our environment, too. Thank you! I've squashed & rebased the commits and added NEWS items; hopefully CI will pass now. |
This commit updates default_snowflake_credentials() to handle Privatelink account identifiers. It also fixes tidyverse#692. Signed-off-by: Aaron Jacobs <aaron.jacobs@posit.co>
55a9464 to
8c2070f
Compare
Resolves #692.
I also updated
default_snowflake_credentialsso that the account identifier is pulled out ofaccountwhenaccountis a PrivateLink account (e.g.mycompany.us-east-1.privatelink). This allowed me to run the tests forprovider-snowflake.Once I was able to run the tests, four tests in
test-provider-snowflake.Rwere failing. My deletion of line 287 resolved this and all of the tests are passing again.I didn't look too closely at
provider-snowflake-cortex.R, but I ran those tests as well. Only the last one failed, and that fails with or without my deletion of line 287 inprovider-snowflake.R.