MCPcopy Create free account
hub / github.com/apache/arrow / GetExecuteSubstraitSchema

Method GetExecuteSubstraitSchema

cpp/src/arrow/flight/sql/client.cc:182–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182arrow::Result<std::unique_ptr<SchemaResult>> FlightSqlClient::GetExecuteSubstraitSchema(
183 const FlightCallOptions& options, const SubstraitPlan& plan,
184 const Transaction& transaction) {
185 flight_sql_pb::CommandStatementSubstraitPlan command;
186 SetPlan(plan, command.mutable_plan());
187 if (transaction.is_valid()) {
188 command.set_transaction_id(transaction.transaction_id());
189 }
190 return GetSchemaForCommand(this, options, command);
191}
192
193arrow::Result<int64_t> FlightSqlClient::ExecuteUpdate(const FlightCallOptions& options,
194 const std::string& query,

Callers 2

ValidateTransactionsMethod · 0.80

Calls 3

SetPlanFunction · 0.85
GetSchemaForCommandFunction · 0.85
is_validMethod · 0.45

Tested by 2

ValidateTransactionsMethod · 0.64