MCPcopy Create free account
hub / github.com/apache/arrow / P_COMMENT

Method P_COMMENT

cpp/src/arrow/acero/tpch_node.cc:1067–1075  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1065 }
1066
1067 Status P_COMMENT(size_t thread_index) {
1068 ThreadLocalData& tld = thread_local_data_[thread_index];
1069 if (tld.part[PART::P_COMMENT].kind() == Datum::NONE) {
1070 ARROW_ASSIGN_OR_RAISE(
1071 tld.part[PART::P_COMMENT],
1072 g_text.GenerateComments(tld.part_to_generate, 5, 22, tld.rng));
1073 }
1074 return Status::OK();
1075 }
1076
1077 int64_t PartsuppBatchesToGenerate(size_t thread_index) {
1078 ThreadLocalData& tld = thread_local_data_[thread_index];

Callers

nothing calls this directly

Calls 4

GenerateCommentsMethod · 0.80
ARROW_ASSIGN_OR_RAISEFunction · 0.70
OKFunction · 0.50
kindMethod · 0.45

Tested by

no test coverage detected