Evaluate Snowflake INSERT OVERWRITE … DELETING WHERE support
Les mainteneurs répondent en général sous 4 jours
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 35/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Domaine
- backend, data-engineering, databases
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- Python
- Étoiles
- 3.3k
- Forks
- 471
- Merge moyen
- 6 j 7 h
- PR mergées (30 j)
- 35
Préparer son environnement
Lance le conteneur de développement du projet dans votre navigateur, avec votre propre compte GitHub.
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de SQLMesh/sqlmesh
-
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
Les mainteneurs répondent en général sous 4 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
Les mainteneurs répondent en général sous 4 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 67/100
SQLMesh/sqlmesh#6008 · 1 commentaire ·
Les mainteneurs répondent en général sous 4 jours
-
VSCode Extension: SQLMesh LSP crashes on startup: ImportError: cannot import name 'WorkspaceDiagnosticRefreshRequest' with lsprotocol 2025.xPeut-être pris @boomesh11 l’a pris il y a 15 jours. OuverteBug
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
Les mainteneurs répondent en général sous 4 jours
-
Improvement
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
SQLMesh/sqlmesh#5696 · 6 commentaires ·
Les mainteneurs répondent en général sous 4 jours
Toutes les issues de SQLMesh/sqlmesh
Issues similaires
-
[BUG][Low–Medium] founder_numbers.py silently reads a SAFE discount or pool target given as a fraction (0.2) as 0.2%Peut-être pris @sumitkhond111-del l’a pris aujourd’hui. Ouvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
bmad-code-org/BMAD-METHOD#3358 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
open-mmlab/mmcv#3352 ·
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 68/100
OpenGithubs/weekly#263 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Les mainteneurs répondent en général sous 1 jour
-
comp/cli P3 type/feature
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
NousResearch/hermes-agent#162784 ·
Les mainteneurs répondent en général sous 1 jour