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

Method DebugString

be/src/exec/topn-node.cc:732–745  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

730}
731
732void TopNNode::DebugString(int indentation_level, stringstream* out) const {
733 *out << string(indentation_level * 2, ' ');
734 const TopNPlanNode& pnode = static_cast<const TopNPlanNode&>(plan_node_);
735 const TSortInfo& tsort_info = pnode.tnode_->sort_node.sort_info;
736
737 *out << "TopNNode(" << ScalarExpr::DebugString(pnode.ordering_exprs_);
738 for (int i = 0; i < tsort_info.is_asc_order.size(); ++i) {
739 *out << (i > 0 ? " " : "") << (tsort_info.is_asc_order[i] ? "asc" : "desc")
740 << " nulls " << (tsort_info.nulls_first[i] ? "first" : "last");
741 }
742
743 ExecNode::DebugString(indentation_level, out);
744 *out << ")";
745}
746
747TopNNode::Heap::Heap(const TupleRowComparator& c, int64_t capacity, bool include_ties) :
748 capacity_(capacity), include_ties_(include_ties), priority_queue_(c) {}

Callers 11

AppendRowsMethod · 0.45
NodeDebugStringMethod · 0.45
HdfsTableWriterMethod · 0.45
NextProbeRowBatchMethod · 0.45
BeginSpilledProbeMethod · 0.45
InitNullProbeRowsMethod · 0.45
NodeDebugStringMethod · 0.45
GrowTableTestMethod · 0.45
PublishRuntimeFiltersMethod · 0.45

Calls 2

DebugStringFunction · 0.50
sizeMethod · 0.45

Tested by 1

GrowTableTestMethod · 0.36