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
{{ message }}
Repository navigation
Commit 7dd714b
Browse filesBrowse the repository at this point in the historyBrowse files
DuckDB: support LIMIT 10% and TABLESAMPLE without a method
- `LIMIT 10%` and `LIMIT 10 PERCENT` set the new `Limit.percentUnit`.
Inside a LIMIT, a `%` followed by the end of the clause is the unit,
not a modulo; `LIMIT 10 % 3` and `LIMIT a % offset` are unchanged.
- TABLESAMPLE takes DuckDB's optional method and reservoir, as USING
SAMPLE already does: `TABLESAMPLE 10%`, `TABLESAMPLE reservoir(10 ROWS)`.
- A table function keeps and prints its sample clause: `range(10) r
USING SAMPLE 10%` used to lose it.
0 commit comments