snowflake-common-errors

Featured

Diagnose and fix common Snowflake errors and SQL compilation failures. Use when encountering Snowflake error codes, failed queries, authentication issues, or warehouse/connection problems. Trigger with phrases like "snowflake error", "fix snowflake", "snowflake not working", "snowflake SQL error", "snowflake 002003".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Snowflake Common Errors ## Overview Quick reference for the most common Snowflake error codes, SQL compilation errors, and driver issues with real solutions. ## Error Reference ### 002003 (42S02): Object Does Not Exist ``` SQL compilation error: Object 'MY_DB.MY_SCHEMA.USERS' does not exist or not authorized. ``` **Causes:** Table doesn't exist, wrong database/schema context, or role lacks privileges. **Solutions:** ```sql -- Check current context SELECT CURRENT_DATABASE(), CURRENT_SCHEMA(), CURRENT_ROLE(); -- Verify object exists SHOW TABLES LIKE 'USERS' IN SCHEMA MY_DB.MY_SCHEMA; -- Grant access if needed GRANT SELECT ON TABLE MY_DB.MY_SCHEMA.USERS TO ROLE MY_ROLE; -- Use fully-qualified names to avoid context issues SELECT * FROM MY_DB.MY_SCHEMA.USERS; ``` ### 000606: No Active Warehouse ``` SQL execution error: No active warehouse selected in the current session. ``` **Solutions:** ```sql -- Set warehouse for session USE WAREHOUSE COMPUTE_WH; -- Or set in connection config -- warehouse: 'COMPUTE_WH' in createConnection() -- Check warehouse state SHOW WAREHOUSES LIKE 'COMPUTE_WH'; -- If SUSPENDED, it auto-resumes if AUTO_RESUME = TRUE ``` ### 390100: Incorrect Username or Password ``` Incorrect username or password was specified. ``` **Solutions:** ```bash # Verify credentials are set echo $SNOWFLAKE_ACCOUNT # Should be 'orgname-accountname' echo $SNOWFLAKE_USER # Test with SnowSQL snowsql -a $SNOWFLAKE_ACCOUNT -u $SNOWFLAKE_USER # Check account form...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

snowflake-known-pitfalls

Identify and avoid Snowflake anti-patterns and common mistakes in SQL, warehouse management, data loading, and access control. Use when reviewing Snowflake configurations, onboarding new users, or auditing existing Snowflake deployments for best practices. Trigger with phrases like "snowflake mistakes", "snowflake anti-patterns", "snowflake pitfalls", "snowflake what not to do", "snowflake code review".

2,266 Updated today
jeremylongshore
AI & Automation Featured

snowflake-advanced-troubleshooting

Apply advanced Snowflake debugging with query profiling, spill analysis, lock contention, and performance deep-dives using ACCOUNT_USAGE views. Use when standard troubleshooting fails, investigating slow queries, or diagnosing warehouse performance issues. Trigger with phrases like "snowflake hard bug", "snowflake slow query debug", "snowflake query profile", "snowflake spilling", "snowflake deep debug".

2,266 Updated today
jeremylongshore
AI & Automation Featured

snowflake-hello-world

Create a minimal working Snowflake example with real SQL queries. Use when testing your Snowflake setup, running first queries, or learning basic snowflake-sdk and snowflake-connector-python patterns. Trigger with phrases like "snowflake hello world", "snowflake example", "snowflake quick start", "first snowflake query".

2,266 Updated today
jeremylongshore
AI & Automation Featured

snowflake-incident-runbook

Execute Snowflake incident response with triage, rollback, and postmortem using real SQL diagnostics. Use when responding to Snowflake outages, investigating query failures, or running post-incident reviews for pipeline failures. Trigger with phrases like "snowflake incident", "snowflake outage", "snowflake down", "snowflake on-call", "snowflake emergency".

2,266 Updated today
jeremylongshore
AI & Automation Solid

snowflake-development

Use when writing Snowflake SQL, building data pipelines with Dynamic Tables or Streams/Tasks, using Cortex AI functions, creating Cortex Agents, writing Snowpark Python, configuring dbt for Snowflake, or troubleshooting Snowflake errors.

16,642 Updated yesterday
alirezarezvani