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

Method GetExecuteSchema

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

Source from the content-addressed store, hash-verified

157}
158
159arrow::Result<std::unique_ptr<SchemaResult>> FlightSqlClient::GetExecuteSchema(
160 const FlightCallOptions& options, const std::string& query,
161 const Transaction& transaction) {
162 flight_sql_pb::CommandStatementQuery command;
163 command.set_query(query);
164 if (transaction.is_valid()) {
165 command.set_transaction_id(transaction.transaction_id());
166 }
167 return GetSchemaForCommand(this, options, command);
168}
169
170arrow::Result<std::unique_ptr<FlightInfo>> FlightSqlClient::ExecuteSubstrait(
171 const FlightCallOptions& options, const SubstraitPlan& plan,

Callers 1

ValidateTransactionsMethod · 0.80

Calls 2

GetSchemaForCommandFunction · 0.85
is_validMethod · 0.45

Tested by 1

ValidateTransactionsMethod · 0.64