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
duckdb_get_substrait_json(conn, query, enable_optimizer = TRUE)A vector containing the substrait protobuf JSON
A DuckDB connection, created by dbConnect().
The query string in SQL
Optional parameter to enable/disable query-optimizer. By default optimizer is enabled.