| 63 | } |
| 64 | |
| 65 | arrow::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 | |
| 78 | arrow::Result<GetExportedKeys> ParseCommandGetExportedKeys( |
| 79 | const google::protobuf::Any& any) { |