| 79 | } |
| 80 | |
| 81 | void InitSimpleSchema(::hybridse::vm::Schema* schema) { |
| 82 | { |
| 83 | ::hybridse::type::ColumnDef* column = schema->Add(); |
| 84 | column->set_type(::hybridse::type::kInt32); |
| 85 | column->set_name("col0"); |
| 86 | } |
| 87 | { |
| 88 | ::hybridse::type::ColumnDef* column = schema->Add(); |
| 89 | column->set_type(::hybridse::type::kVarchar); |
| 90 | column->set_name("col1"); |
| 91 | } |
| 92 | { |
| 93 | ::hybridse::type::ColumnDef* column = schema->Add(); |
| 94 | column->set_type(::hybridse::type::kInt64); |
| 95 | column->set_name("col2"); |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | TEST_F(SQLRequestRowTest, normal_test) { |
| 100 | ::hybridse::vm::Schema schema; |
no outgoing calls
no test coverage detected