Skip to content

feat: Snowflake integration with PyPI package support - #3

Closed
NormallyGaussian wants to merge 19 commits into
mainfrom
fix/secret-stdin-hang
Closed

feat: Snowflake integration with PyPI package support#3
NormallyGaussian wants to merge 19 commits into
mainfrom
fix/secret-stdin-hang

Conversation

@NormallyGaussian

@NormallyGaussian NormallyGaussian commented Jan 24, 2026

Copy link
Copy Markdown

Summary

  • Add CLI support for parallel-cli enrich deploy --system snowflake with options for account, user, password, MFA, warehouse, role
  • Use parallel-web-tools from PyPI via Snowflake's artifact repository (snowflake.snowpark.pypi_shared_repository)
  • Share core enrichment logic (enrich_batch) with BigQuery/Spark integrations
  • Add comprehensive error handling - fail deployment when CREATE statements error (instead of silently continuing)
  • Simplify codebase with extracted helper functions (_build_connection_params, _execute_sql_statements, _check_resource_exists, etc.)
  • Update docs with MFA setup instructions, account identifier formats, and troubleshooting guide

Test plan

  • All 157 tests pass
  • Manual test: Deploy to Snowflake with parallel-cli enrich deploy --system snowflake
  • Manual test: Run enrichment query in Snowflake
  • Verify error handling fails deployment on CREATE errors

When updating an existing secret, gcloud secrets versions add with
--data-file=- was called without providing stdin input, causing it
to hang indefinitely. Now uses Popen with communicate() to pass the
API key via stdin, same as the create case.
- Add CLI support for `parallel-cli enrich deploy --system snowflake`
- Use parallel-web-tools from PyPI via Snowflake's artifact repository
- Share core enrichment logic with BigQuery/Spark integrations
- Add comprehensive error handling (fail on CREATE statement errors)
- Simplify codebase with extracted helper functions
- Update docs with MFA setup, account identifier formats, troubleshooting
@NormallyGaussian
NormallyGaussian marked this pull request as ready for review January 24, 2026 07:05
@NormallyGaussian

Copy link
Copy Markdown
Author

Closing in favor of new PR with clean branch

@NormallyGaussian
NormallyGaussian deleted the fix/secret-stdin-hang branch January 27, 2026 03:37
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.

2 participants