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

Function ParseCommandPreparedStatementQuery

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

Source from the content-addressed store, hash-verified

135}
136
137arrow::Result<PreparedStatementQuery> ParseCommandPreparedStatementQuery(
138 const google::protobuf::Any& any) {
139 pb::sql::CommandPreparedStatementQuery command;
140 if (!any.UnpackTo(&command)) {
141 return Status::Invalid("Unable to unpack CommandPreparedStatementQuery.");
142 }
143
144 PreparedStatementQuery result;
145 result.prepared_statement_handle = command.prepared_statement_handle();
146 return result;
147}
148
149arrow::Result<StatementQuery> ParseCommandStatementQuery(
150 const google::protobuf::Any& any) {

Callers

nothing calls this directly

Calls 1

InvalidFunction · 0.50

Tested by

no test coverage detected