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

Method Execute

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

Source from the content-addressed store, hash-verified

145}
146
147arrow::Result<std::unique_ptr<FlightInfo>> FlightSqlClient::Execute(
148 const FlightCallOptions& options, const std::string& query,
149 const Transaction& transaction) {
150 flight_sql_pb::CommandStatementQuery command;
151 command.set_query(query);
152 if (transaction.is_valid()) {
153 command.set_transaction_id(transaction.transaction_id());
154 }
155
156 return GetFlightInfoForCommand(this, options, command);
157}
158
159arrow::Result<std::unique_ptr<SchemaResult>> FlightSqlClient::GetExecuteSchema(
160 const FlightCallOptions& options, const std::string& query,

Callers 9

StartMethod · 0.45
ValidateTransactionsMethod · 0.45
acero_test.ccFile · 0.45
TEST_FFunction · 0.45
RunMainFunction · 0.45
GcsTestbenchMethod · 0.45
StartMethod · 0.45
MakeMethod · 0.45

Calls 2

GetFlightInfoForCommandFunction · 0.70
is_validMethod · 0.45

Tested by 8

StartMethod · 0.36
ValidateTransactionsMethod · 0.36
TEST_FFunction · 0.36
RunMainFunction · 0.36
GcsTestbenchMethod · 0.36
StartMethod · 0.36
MakeMethod · 0.36