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

Function ParseCommandGetDbSchemas

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

Source from the content-addressed store, hash-verified

122}
123
124arrow::Result<GetDbSchemas> ParseCommandGetDbSchemas(const google::protobuf::Any& any) {
125 pb::sql::CommandGetDbSchemas command;
126 if (!any.UnpackTo(&command)) {
127 return Status::Invalid("Unable to unpack CommandGetDbSchemas.");
128 }
129
130 GetDbSchemas result;
131 result.catalog = PROPERTY_TO_OPTIONAL(command, catalog);
132 result.db_schema_filter_pattern =
133 PROPERTY_TO_OPTIONAL(command, db_schema_filter_pattern);
134 return result;
135}
136
137arrow::Result<PreparedStatementQuery> ParseCommandPreparedStatementQuery(
138 const google::protobuf::Any& any) {

Callers

nothing calls this directly

Calls 1

InvalidFunction · 0.50

Tested by

no test coverage detected