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

Function ParseCommandGetXdbcTypeInfo

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

Source from the content-addressed store, hash-verified

177}
178
179arrow::Result<GetXdbcTypeInfo> ParseCommandGetXdbcTypeInfo(
180 const google::protobuf::Any& any) {
181 pb::sql::CommandGetXdbcTypeInfo command;
182 if (!any.UnpackTo(&command)) {
183 return Status::Invalid("Unable to unpack CommandGetXdbcTypeInfo.");
184 }
185
186 GetXdbcTypeInfo result;
187 result.data_type = PROPERTY_TO_OPTIONAL(command, data_type);
188 return result;
189}
190
191arrow::Result<GetTables> ParseCommandGetTables(const google::protobuf::Any& any) {
192 pb::sql::CommandGetTables command;

Callers

nothing calls this directly

Calls 1

InvalidFunction · 0.50

Tested by

no test coverage detected