Install and load
Run these commands in a Haybarn SQL session. The extension is available from the community repository.
INSTALL query_limiter FROM community;
LOAD query_limiter FROM community;
Using upstream DuckDB? Follow the maintainer’s installation instructions.
Usage example
SET max_rows_to_scan = 1000000;
CREATE TABLE limiter_demo AS SELECT i FROM range(100) tbl(i);
SELECT sum(i) FROM limiter_demo;
Provided by dentiny. Not yet verified on Haybarn 2.0.0.
Sample data & setupAbout this extension
Query Limiter is a DuckDB extension that rejects queries before physical execution when DuckDB estimates that table scans would exceed a configured row budget.
Project overview from the community descriptor.
Documentation and resources
Project and build details
- Repository
- dentiny/duckdb-query-limiter
- License
- MIT
- Maintainers
- dentiny
- Written in
- C++
- Build source
739c7964074f- Build definition
- Community descriptor