MCPcopy Create free account
hub / github.com/apache/impala / SetUp

Method SetUp

be/src/exec/scratch-tuple-batch-test.cc:90–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88 RowDescriptor* desc_;
89
90 virtual void SetUp() {
91 DescriptorTblBuilder builder(fe.get(), &pool_);
92 builder.DeclareTuple() << TYPE_INT;
93 DescriptorTbl* desc_tbl = builder.Build();
94 vector<bool> nullable_tuples(1, false);
95 vector<TTupleId> tuple_id(1, (TTupleId) 0);
96 desc_ = pool_.Add(new RowDescriptor(*desc_tbl, tuple_id, nullable_tuples));
97 }
98};
99
100// This tests checks conversion of 'selected_rows' with interleaved

Callers

nothing calls this directly

Calls 3

getMethod · 0.65
BuildMethod · 0.45
AddMethod · 0.45

Tested by

no test coverage detected