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

Function ParseCommandGetImportedKeys

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

Source from the content-addressed store, hash-verified

63}
64
65arrow::Result<GetImportedKeys> ParseCommandGetImportedKeys(
66 const google::protobuf::Any& any) {
67 pb::sql::CommandGetImportedKeys command;
68 if (!any.UnpackTo(&command)) {
69 return Status::Invalid("Unable to unpack CommandGetImportedKeys.");
70 }
71
72 GetImportedKeys result;
73 result.table_ref = {PROPERTY_TO_OPTIONAL(command, catalog),
74 PROPERTY_TO_OPTIONAL(command, db_schema), command.table()};
75 return result;
76}
77
78arrow::Result<GetExportedKeys> ParseCommandGetExportedKeys(
79 const google::protobuf::Any& any) {

Callers

nothing calls this directly

Calls 1

InvalidFunction · 0.50

Tested by

no test coverage detected