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

Function ParseCommandStatementSubstraitPlan

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

Source from the content-addressed store, hash-verified

164}
165
166arrow::Result<StatementSubstraitPlan> ParseCommandStatementSubstraitPlan(
167 const google::protobuf::Any& any) {
168 pb::sql::CommandStatementSubstraitPlan command;
169 if (!any.UnpackTo(&command)) {
170 return Status::Invalid("Unable to unpack CommandStatementSubstraitPlan");
171 }
172
173 StatementSubstraitPlan result;
174 result.plan = ParseStatementSubstraitPlan(command.plan());
175 result.transaction_id = command.transaction_id();
176 return result;
177}
178
179arrow::Result<GetXdbcTypeInfo> ParseCommandGetXdbcTypeInfo(
180 const google::protobuf::Any& any) {

Callers

nothing calls this directly

Calls 2

InvalidFunction · 0.50

Tested by

no test coverage detected