Repository navigation
chore(deps): duckdb >=1.5.6 — 1.5.4 va in INTERNAL Error su window function - #568
Merged
Merged
Conversation
…nction Verificato: lo stesso SQL (window SUM dopo GROUP BY) fallisce con 'Failed to bind column reference' su 1.5.4 e funziona su 1.5.6. Il vincolo precedente (>=1.5.3) ammetteva la versione rotta.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sintesi
Alza il floor di
duckdba1.5.6. La versione1.5.4, ammessa dal vincolo precedente (>=1.5.3), va inINTERNAL Errorsu una window function dopo unGROUP BY— errore incontrato davvero durante un mart di open-elezioni.Contesto collegato
Nessuna issue: emerso da un audit dei mart di
open-elezioni(PRdataciviclab/open-elezioni#9).Cosa cambia
pyproject.toml:duckdb>=1.5.3→duckdb>=1.5.6, con commento che spiega il motivo.Impatto su contratti pubblici
Verifica
Riprodotto con lo stesso SQL (in una CTE,
SUM(x) OVER (PARTITION BY anno)su risultato aggregato):INTERNAL Error: Failed to bind column reference "" [28.1]Entrambe le versioni erano ammesse dal vincolo precedente, quindi un resolver poteva scegliere quella rotta (è quello che era successo sull'install locale: toolkit 1.52.0 con duckdb 1.5.4).
pytest -m corepassa — non eseguito: la modifica è al vincolo di dipendenza, nessun codice toccatoruff check .passa — nessun file Python modificatomypy toolkit/passa — nessun file Python modificatoChecklist PR
Note per chi revisiona
1.5.6è più recente di1.5.4, e la CI installa comunque l'ultima ammessa.docs/conventions.md.