ADBC
Arrow Database Connectivity
|
Functions | |
AdbcStatusCode | AdbcStatementSetSubstraitPlan (struct AdbcStatement *statement, const uint8_t *plan, size_t length, struct AdbcError *error) |
Set the Substrait plan to execute. | |
Functions for executing Substrait plans, or querying Substrait-related metadata. Drivers are not required to support both SQL and Substrait semantics. If they do, it may be via converting between representations internally.
AdbcStatusCode AdbcStatementSetSubstraitPlan | ( | struct AdbcStatement * | statement, |
const uint8_t * | plan, | ||
size_t | length, | ||
struct AdbcError * | error ) |
Set the Substrait plan to execute.
The query can then be executed with AdbcStatementExecute. For queries expected to be executed repeatedly, AdbcStatementPrepare the statement first.
[in] | statement | The statement. |
[in] | plan | The serialized substrait.Plan to execute. |
[in] | length | The length of the serialized plan. |
[out] | error | Error details, if an error occurs. |