duckdb_get_substrait_json: Get the Substrait plan for a SQL query in the JSON format...

View source: R/substrait.R

duckdb_get_substrait_jsonR Documentation

Get the Substrait plan for a SQL query in the JSON format Transforms a SQL query into a vector containing the serialized Substrait query JSON

Description

Get the Substrait plan for a SQL query in the JSON format Transforms a SQL query into a vector containing the serialized Substrait query JSON

Usage

duckdb_get_substrait_json(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 vector containing the substrait protobuf JSON


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