You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was a regression on an older version that tried to silently discard the DISTINCT modifier. Both released 1.5.5 and dev 2.0.0.dev2609221243 correctly reject the syntax with a clear ParserException. .select('a, b').distinct() produces the correct result.
Activity
cap-code commentedon Dec 23, 2025
duckdb.execute("SELECT DISTINCT a, b FROM foo")
you could try this instead.
evertlammerts commentedon Sep 22, 2026
This was a regression on an older version that tried to silently discard the DISTINCT modifier. Both released 1.5.5 and dev 2.0.0.dev2609221243 correctly reject the syntax with a clear ParserException.
.select('a, b').distinct()produces the correct result.kornerc commentedon Sep 22, 2026
@evertlammerts thank you for the information and for fixing this issue!