ADBC
Arrow Database Connectivity
Loading...
Searching...
No Matches
Substrait Semantics

Functions

AdbcStatusCode AdbcStatementSetSubstraitPlan (struct AdbcStatement *statement, const uint8_t *plan, size_t length, struct AdbcError *error)
 Set the Substrait plan to execute.
 

Detailed Description

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.

Function Documentation

◆ AdbcStatementSetSubstraitPlan()

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.

Parameters
[in]statementThe statement.
[in]planThe serialized substrait.Plan to execute.
[in]lengthThe length of the serialized plan.
[out]errorError details, if an error occurs.