| 52 | RowDescriptor* desc_; |
| 53 | |
| 54 | virtual void SetUp() { |
| 55 | DescriptorTblBuilder builder(fe.get(), &pool_); |
| 56 | builder.DeclareTuple() << TYPE_INT; |
| 57 | DescriptorTbl* desc_tbl = builder.Build(); |
| 58 | vector<bool> nullable_tuples(1, false); |
| 59 | vector<TTupleId> tuple_id(1, (TTupleId) 0); |
| 60 | desc_ = pool_.Add(new RowDescriptor(*desc_tbl, tuple_id, nullable_tuples)); |
| 61 | } |
| 62 | |
| 63 | RowBatch* CreateRowBatch(int start, int end) { |
| 64 | int num_rows = end - start + 1; |