Search Shortcut cmd + k | ctrl + k

quack_weave

Query Ladybug, RelateDB and Neo4j graphs from DuckDB using SQL/PGQ GRAPH_TABLE and read-only graph queries.

Maintainer(s): kevintruong

Compatibility Matrix

This table covers all DuckDB releases that have not reached end-of-life, including LTS releases, and shows the 2 most recent patch releases of each. Older patch releases are not listed, but the extension may be available for them as well.

Platform 1.5.5 1.5.6 2.0.0 2.0.1
Linux AMD64
Linux ARM64
macOS AMD64
macOS ARM64
Windows AMD64
Windows ARM64
WebAssembly

Installing and Loading

INSTALL quack_weave FROM community;
LOAD quack_weave;

Example

SELECT provider_id, setting_name
FROM qw_graph_providers()
ORDER BY provider_id;

About quack_weave

Quack Weave exposes the GRAPH_TABLE operator for joining graph matches to SQL tables. One extension includes Ladybug, RelateDB, and Neo4j. Configure a provider with an existing graph before querying it. See the Quack Weave documentation for provider setup and SQL/PGQ examples.

Added Functions

function_name function_type description comment examples
duck_count pragma Add the 🦆 in ducks to a running total and return the total. NULL [PRAGMA duck_count('🦆🦆')]
glaze table_macro A table macro with one row expressing how we feel about Rust. NULL [SELECT * FROM glaze()]
qw_graph_providers table List enabled graph providers and their configuration settings. NULL  
qw_graph_query table NULL NULL  
qw_graph_query_filtered table NULL NULL  
qw_graph_query_params table NULL NULL  
qw_graph_query_watch table NULL NULL  
qw_query table Read typed rows from a configured graph using read-only Cypher or a supported GQL subset. NULL  
qw_watchlist_payload scalar NULL NULL  
read_quackfile table Read a quackfile as VARCHAR columns column0, column1, …; FROM 'path.quackfile' calls it too. NULL [SELECT * FROM read_quackfile('ducks.quackfile'), SELECT * FROM 'ducks.quackfile']
rusty_echo scalar Echo back the input you provided, but with a rusty twist! NULL [SELECT rusty_echo('Jane')]
rusty_longest aggregate The longest non-NULL string in the group; ties go to the lexicographically smaller one. NULL [SELECT rusty_longest(name) FROM (VALUES ('a'), ('ccc'), ('bb')) t(name)]
rusty_quack table One row per name, last name first, with a rotating icon and the names seen so far. NULL [SELECT * FROM rusty_quack(['Jane', 'Doe', 'Loves', 'Ducks'])]
rusty_sequence table count rows of i = 0, step, 2*step, … with a label; filters on i < constant are pushed into the scan. NULL [SELECT i FROM rusty_sequence(10000) WHERE i < 10, SELECT * FROM rusty_sequence(3, step := 10)]

Overloaded Functions

This extension does not add any function overloads.

Added Types

type_name type_size logical_type type_category internal
LIST 16 LIST COMPOSITE true
QUACK 16 VARCHAR STRING true

Added Settings

name description input_type scope aliases typed_value
active_grammar_extensions The grammar extensions used by the parser. VARCHAR[] LOCAL [] [shell, quack_weave]
quack_emojis The list of emojis to use for the quack table function VARCHAR[] GLOBAL [] [🐤, 🦀, 🐥]
qw_enable_remote_graphs Allow reads from registered remote graph endpoints BOOLEAN GLOBAL [] false
qw_graph_dialect Language for standalone graph statements VARCHAR GLOBAL [] gql
qw_ladybug_config JSON configuration for a read-only Ladybug graph VARCHAR GLOBAL [] NULL
qw_neo4j_config JSON configuration for a read-only Neo4j graph VARCHAR GLOBAL [] NULL
qw_relate_config JSON configuration for a read-only RelateDB graph VARCHAR GLOBAL [] NULL
qw_selected_graph Graph alias selected by SESSION SET GRAPH VARCHAR GLOBAL []  
temp_directory Set the directory to which temporary files are written. VARCHAR GLOBAL [] post.db.tmp
© 2026 DuckDB Foundation, Amsterdam NL
DuckDB Home Code of Conduct Trademark Use Blog