Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ensure database context is set before schema creation in Snowflake #589

Closed

Conversation

devin-ai-integration[bot]
Copy link
Contributor

Fixes Snowflake schema creation by ensuring database context is properly set.

This PR:

  1. Overrides _ensure_schema_exists in SnowflakeSqlProcessor to properly set database context
  2. Uses fully qualified schema names in CREATE SCHEMA statements
  3. Maintains existing error handling for schema existence

Link to Devin run: https://app.devin.ai/sessions/be3168a4b7974151b7cf9f082e47e893

Copy link
Contributor Author

Original prompt:

@Devin - PyAirbyte CI tests are failing in new PRs. Can you investigate. Looks like Snowflake account is missing a DB or has its default DB changed.

Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@aaronsteers
Copy link
Contributor

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.

1 participant