MCPcopy Create free account
hub / github.com/bytedance/bolt / emptyBuildSide

Method emptyBuildSide

bolt/exec/HashProbe.h:263–266  ·  view source on GitHub ↗

Returns true if build side has no data. NOTE: if build side has triggered spilling, then the first hash table might be empty, but we still have spilled partition data remaining to restore. Also note that the spilled partition at build side must not be empty.

Source from the content-addressed store, hash-verified

261 // might be empty, but we still have spilled partition data remaining to
262 // restore. Also note that the spilled partition at build side must not be
263 // empty.
264 bool emptyBuildSide() const {
265 return table_->numDistinct() == 0 && spillPartitionSet_.empty() &&
266 spillInputPartitionIds_.empty();
267 }
268
269 bool canWrapInDictionary(

Callers

nothing calls this directly

Calls 2

numDistinctMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected