| 663 | using c_type = typename TestType::c_type; |
| 664 | |
| 665 | virtual void SetUpSchema(Repetition::type repetition, int num_columns) { |
| 666 | std::vector<schema::NodePtr> fields; |
| 667 | |
| 668 | for (int i = 0; i < num_columns; ++i) { |
| 669 | std::string name = TestColumnName(i); |
| 670 | fields.push_back(schema::PrimitiveNode::Make(name, repetition, TestType::type_num, |
| 671 | ConvertedType::NONE, FLBA_LENGTH)); |
| 672 | } |
| 673 | node_ = schema::GroupNode::Make("schema", Repetition::REQUIRED, fields); |
| 674 | schema_.Init(node_); |
| 675 | } |
| 676 | |
| 677 | void SetUpSchema(Repetition::type repetition) { this->SetUpSchema(repetition, 1); } |
| 678 |
no test coverage detected