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

Method DebugString

be/src/exec/partitioned-hash-join-builder.cc:1305–1325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1303}
1304
1305std::string PhjBuilderPartition::DebugString() {
1306 stringstream ss;
1307 ss << "<Partition>: ptr=" << this << " id=" << id_;
1308 if (IsClosed()) {
1309 ss << " Closed";
1310 return ss.str();
1311 }
1312 if (is_spilled()) {
1313 ss << " Spilled";
1314 }
1315 DCHECK(build_rows() != nullptr);
1316 ss << endl
1317 << " Build Rows: " << build_rows_->num_rows()
1318 << " (Bytes pinned: " << build_rows_->BytesPinned(false) << ")"
1319 << endl;
1320 if (hash_tbl_ != nullptr) {
1321 ss << " Hash Table Rows: " << hash_tbl_->size();
1322 }
1323 ss << " Spilled Probe Rows: " << num_spilled_probe_rows_.Load() << endl;
1324 return ss.str();
1325}
1326
1327void PhjBuilderConfig::Codegen(FragmentState* state) {
1328 LlvmCodeGen* codegen = state->codegen();

Callers 5

FinalizeBuildMethod · 0.45
SpillPartitionMethod · 0.45

Calls 5

BytesPinnedMethod · 0.80
strMethod · 0.45
num_rowsMethod · 0.45
sizeMethod · 0.45
LoadMethod · 0.45

Tested by

no test coverage detected