ADBC
Arrow 資料庫連線能力
|
函式 | |
AdbcStatusCode | AdbcStatementSetSubstraitPlan (struct AdbcStatement *statement, const uint8_t *plan, size_t length, struct AdbcError *error) |
設定要執行的 Substrait 計畫。 | |
用於執行 Substrait 計畫或查詢與 Substrait 相關的metadata的函式。驅動程式不一定需要同時支援 SQL 和 Substrait 語意。如果支援,則可能是透過內部轉換表示法來達成。
AdbcStatusCode AdbcStatementSetSubstraitPlan | ( | struct AdbcStatement * | statement, |
const uint8_t * | plan, | ||
size_t | length, | ||
struct AdbcError * | error ) |
設定要執行的 Substrait 計畫。
然後可以使用 AdbcStatementExecute 執行查詢。對於預期會重複執行的查詢,請先使用 AdbcStatementPrepare 準備陳述式。
[in] | statement | 陳述式。 |
[in] | plan | 要執行的序列化 substrait.Plan。 |
[in] | length | 序列化計畫的長度。 |
[out] | error | 錯誤詳細資訊,如果發生錯誤。 |