| 164 | } |
| 165 | |
| 166 | arrow::Result<StatementSubstraitPlan> ParseCommandStatementSubstraitPlan( |
| 167 | const google::protobuf::Any& any) { |
| 168 | pb::sql::CommandStatementSubstraitPlan command; |
| 169 | if (!any.UnpackTo(&command)) { |
| 170 | return Status::Invalid("Unable to unpack CommandStatementSubstraitPlan"); |
| 171 | } |
| 172 | |
| 173 | StatementSubstraitPlan result; |
| 174 | result.plan = ParseStatementSubstraitPlan(command.plan()); |
| 175 | result.transaction_id = command.transaction_id(); |
| 176 | return result; |
| 177 | } |
| 178 | |
| 179 | arrow::Result<GetXdbcTypeInfo> ParseCommandGetXdbcTypeInfo( |
| 180 | const google::protobuf::Any& any) { |
nothing calls this directly
no test coverage detected