duckdb_get_substrait: Get the Substrait plan for a SQL query Transforms a SQL query...

View source: R/substrait.R

duckdb_get_substraitR Documentation

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

Description

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


duckdb documentation built on Oct. 30, 2024, 5:06 p.m.