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

Function ParseCommandPreparedStatementUpdate

cpp/src/arrow/flight/sql/server.cc:225–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223}
224
225arrow::Result<PreparedStatementUpdate> ParseCommandPreparedStatementUpdate(
226 const google::protobuf::Any& any) {
227 pb::sql::CommandPreparedStatementUpdate command;
228 if (!any.UnpackTo(&command)) {
229 return Status::Invalid("Unable to unpack CommandPreparedStatementUpdate.");
230 }
231
232 PreparedStatementUpdate result;
233 result.prepared_statement_handle = command.prepared_statement_handle();
234 return result;
235}
236
237arrow::Result<StatementIngest> ParseCommandStatementIngest(
238 const google::protobuf::Any& any) {

Callers

nothing calls this directly

Calls 1

InvalidFunction · 0.50

Tested by

no test coverage detected