duckdb_get_substrait_json {duckdb} | R 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 |
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
[Package duckdb version 1.0.0-2 Index]