[HWORKS-2807] Append - fix loadtests and connectors#621
Open
jimdowling wants to merge 1 commit into
Open
Conversation
https://hopsworks.atlassian.net/browse/HWORKS-2807 Snowflake is removing single-factor password sign-ins, so the account password behind the Snowflake data source stops working. A programmatic access token (PAT) takes its place. PATs need the password field: the connector token field renders authenticator=oauth, which Snowflake rejects for PATs with 390303, and the JDBC driver behind the Spark connector has no PAT authenticator. The password auth method is therefore relabelled rather than removed, keeping PAT support available. Update step 04 of the Snowflake data source creation guide to match the relabelled authentication options. Signed-off-by: Jim Dowling <jim@hopsworks.ai> Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Snowflake is removing single-factor password sign-ins, so the account password behind the Snowflake data source stops working. A programmatic access token (PAT) takes its place.
PATs need the
passwordfield. The connectortokenfield rendersauthenticator=oauth, which Snowflake rejects for PATs. Verified against a live account:X-Snowflake-Authorization-Token-Type: PROGRAMMATIC_ACCESS_TOKEN-> HTTP 200X-Snowflake-Authorization-Token-Type: OAUTH-> HTTP 401390303 Invalid OAuth access tokenThe JDBC driver behind
net.snowflake.spark.snowflakehas no PAT authenticator either, so a PAT is passed in the password position. The password auth method is therefore relabelled rather than removed, which keeps PAT support available.What changed
Step 04 of the Snowflake data source creation guide now matches the relabelled authentication options, and states that the Token option accepts OAuth access tokens only.
🤖 Generated with Claude Code
Related PRs
Same branch, same ticket, one per repo: