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
Source:R/substrait.R
duckdb_get_substrait_json.Rd
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
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.