Evaluate Snowflake INSERT OVERWRITE … DELETING WHERE support
I maintainer di solito rispondono entro 4 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Ambito
- backend, data-engineering, databases
Direzione di ricerca
Start by tracing the Snowflake overwrite path and its callers, then compare source filtering, interval boundaries, empty results, multiple batches, and target reads. Check SQLGlot support, shared adapter behavior, supported table types, fallback or configuration needs, and relevant integration tests. Benchmark the existing transactional strategy against INSERT OVERWRITE … DELETING WHERE for scanning, locking, concurrency, and failures before recommending adoption, deferral, or no change.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Snowflake introduced INSERT OVERWRITE … DELETING WHERE on November 20, 2026. I'd like to understand whether it's worth using in SQLMesh's Snowflake adapter before we implement support. Keeping the current behavior may be the right answer.
SQLMesh already uses the shared delete-and-insert strategy for Snowflake time-range overwrites and wraps the operation in a transaction. Combining those statements doesn't by itself tell us whether correctness or performance improves. My concern is that we could add another engine-specific code path without enough benefit to justify maintaining it.
Please investigate:
- What limitation of the current strategy this addresses, or what measurable benefit users would get. Separate what Snowflake documents from what the code suggests and what you've verified against Snowflake.
- How the semantics compare. Trace the overwrite path and its callers, including source filtering, interval boundaries, empty results, multiple source batches, and queries that read the target table. Snowflake's deletion predicate doesn't filter inserted rows.
- How it performs against the current transactional strategy on representative workloads. Consider scanning, locking, concurrent batch evaluation, and failure behavior where relevant. Fewer statements alone aren't evidence of lower cost or faster execution.
- How it fits the existing overwrite strategies and whether we'd need a new one. Check SQLGlot support, effects on shared adapter behavior, supported table types, compatibility, and any fallback or configuration we'd need.
- What we'd have to maintain: additional code paths, dependencies, and integration tests. Does the demonstrated benefit justify that work?
Recommend whether to adopt it, defer it, or leave the current behavior in place, with supporting evidence and any open questions. If adoption makes sense, propose the smallest scope that delivers the benefit.
Reference: Snowflake INSERT semantics and limitations.
- Lingua principale
- Python
- Stelle
- 3.3k
- Fork
- 471
- Merge medio
- 6g 7h
- PR unite (30g)
- 35
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di SQLMesh/sqlmesh
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
SQLMesh/sqlmesh#6008 · 1 commento ·
I maintainer di solito rispondono entro 4 giorni
-
VSCode Extension: SQLMesh LSP crashes on startup: ImportError: cannot import name 'WorkspaceDiagnosticRefreshRequest' with lsprotocol 2025.xForse già presa @boomesh11 l’ha presa 15 giorni fa. ApertaBug
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 4 giorni
-
Improvement
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
SQLMesh/sqlmesh#5696 · 6 commenti ·
I maintainer di solito rispondono entro 4 giorni
Tutte le issue di SQLMesh/sqlmesh
Issue simili
-
[BUG][Low–Medium] founder_numbers.py silently reads a SAFE discount or pool target given as a fraction (0.2) as 0.2%Forse già presa @sumitkhond111-del l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
bmad-code-org/BMAD-METHOD#3358 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
open-mmlab/mmcv#3352 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
OpenGithubs/weekly#263 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
comp/cli P3 type/feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
NousResearch/hermes-agent#162784 ·
I maintainer di solito rispondono entro 1 giorno