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

Method ExecuteSubstrait

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

Source from the content-addressed store, hash-verified

168}
169
170arrow::Result<std::unique_ptr<FlightInfo>> FlightSqlClient::ExecuteSubstrait(
171 const FlightCallOptions& options, const SubstraitPlan& plan,
172 const Transaction& transaction) {
173 flight_sql_pb::CommandStatementSubstraitPlan command;
174 SetPlan(plan, command.mutable_plan());
175 if (transaction.is_valid()) {
176 command.set_transaction_id(transaction.transaction_id());
177 }
178
179 return GetFlightInfoForCommand(this, options, command);
180}
181
182arrow::Result<std::unique_ptr<SchemaResult>> FlightSqlClient::GetExecuteSubstraitSchema(
183 const FlightCallOptions& options, const SubstraitPlan& plan,

Callers 3

ValidateTransactionsMethod · 0.80
acero_test.ccFile · 0.80

Calls 3

SetPlanFunction · 0.85
GetFlightInfoForCommandFunction · 0.70
is_validMethod · 0.45

Tested by 2

ValidateTransactionsMethod · 0.64