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

Function ParseCommandGetExportedKeys

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

Source from the content-addressed store, hash-verified

76}
77
78arrow::Result<GetExportedKeys> ParseCommandGetExportedKeys(
79 const google::protobuf::Any& any) {
80 pb::sql::CommandGetExportedKeys command;
81 if (!any.UnpackTo(&command)) {
82 return Status::Invalid("Unable to unpack CommandGetExportedKeys.");
83 }
84
85 GetExportedKeys result;
86 result.table_ref = {PROPERTY_TO_OPTIONAL(command, catalog),
87 PROPERTY_TO_OPTIONAL(command, db_schema), command.table()};
88 return result;
89}
90
91arrow::Result<GetPrimaryKeys> ParseCommandGetPrimaryKeys(
92 const google::protobuf::Any& any) {

Callers

nothing calls this directly

Calls 1

InvalidFunction · 0.50

Tested by

no test coverage detected