| 223 | } |
| 224 | |
| 225 | arrow::Result<PreparedStatementUpdate> ParseCommandPreparedStatementUpdate( |
| 226 | const google::protobuf::Any& any) { |
| 227 | pb::sql::CommandPreparedStatementUpdate command; |
| 228 | if (!any.UnpackTo(&command)) { |
| 229 | return Status::Invalid("Unable to unpack CommandPreparedStatementUpdate."); |
| 230 | } |
| 231 | |
| 232 | PreparedStatementUpdate result; |
| 233 | result.prepared_statement_handle = command.prepared_statement_handle(); |
| 234 | return result; |
| 235 | } |
| 236 | |
| 237 | arrow::Result<StatementIngest> ParseCommandStatementIngest( |
| 238 | const google::protobuf::Any& any) { |