Skip to content

Fix/snowflake warehouse set#25

Merged
Abhishek Patil (abhishek-pattern) merged 6 commits into
mainfrom
fix/snowflake-warehouse-set
May 12, 2026
Merged

Fix/snowflake warehouse set#25
Abhishek Patil (abhishek-pattern) merged 6 commits into
mainfrom
fix/snowflake-warehouse-set

Conversation

@abhishek-pattern
Copy link
Copy Markdown
Contributor

@abhishek-pattern Abhishek Patil (abhishek-pattern) commented May 11, 2026

… to 0.4.2

Passing warehouse in Snowflake connection parameters silently fails to set it.
Switched to executing USE WAREHOUSE as a raw query after connection is established.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Snowflake connection helper to ensure the intended warehouse is set (working around Metaflow/Snowflake integration behavior) and bumps the package version to 0.4.2.

Changes:

  • Bump project/package version from 0.4.1 to 0.4.2 (pyproject.toml, uv.lock).
  • Change Snowflake connection initialization to set the warehouse via an explicit USE WAREHOUSE ... statement.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 3 comments.

File Description
src/ds_platform_utils/metaflow/snowflake_connection.py Removes passing warehouse to Snowflake(...) and instead sets it post-connection via SQL.
pyproject.toml Bumps project version to 0.4.2.
uv.lock Updates locked editable package version to 0.4.2.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/ds_platform_utils/metaflow/snowflake_connection.py
Comment thread src/ds_platform_utils/metaflow/snowflake_connection.py
Comment thread src/ds_platform_utils/metaflow/snowflake_connection.py
Copy link
Copy Markdown
Contributor

@vinay79n Vinay Shende (vinay79n) left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks Good ✅

Copy link
Copy Markdown
Contributor

@vinay79n Vinay Shende (vinay79n) left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks Good ✅

@abhishek-pattern Abhishek Patil (abhishek-pattern) merged commit 171b99f into main May 12, 2026
11 checks passed
@abhishek-pattern Abhishek Patil (abhishek-pattern) deleted the fix/snowflake-warehouse-set branch May 12, 2026 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants