Allows conversion execution of Substrait query plans
Installing and Loading
INSTALL substrait FROM community;
LOAD substrait;
Example
.mode line
CALL get_substrait('SELECT count(exercise) AS exercise FROM crossfit WHERE difficulty_level <= 5');
Added Functions
function_name | function_type | description | comment | examples |
---|---|---|---|---|
get_substrait | table | Converts the provided query into a binary Substrait plan | NULL | [NULL] |
get_substrait_json | table | Converts the provided query into a Substrait plan in JSON | NULL | [NULL] |
from_substrait | table | Executes a binary Substrait plan (provided as bytes) against DuckDB and returns the results | NULL | [NULL] |
from_substrait_json | table | Executes a Substrait plan written in JSON against DuckDB and returns the results | NULL | [NULL] |