Skip to contents

Get the Substrait plan for a SQL query Transforms a SQL query into a raw vector containing the serialized Substrait query blob

Usage

duckdb_get_substrait(conn, query, enable_optimizer = TRUE)

Arguments

conn

A DuckDB connection, created by dbConnect().

query

The query string in SQL

enable_optimizer

Optional parameter to enable/disable query-optimizer. By default optimizer is enabled.

Value

A raw vector containing the substrait protobuf blob