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

Method C_COMMENT

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

Source from the content-addressed store, hash-verified

3036 }
3037
3038 Status C_COMMENT(size_t thread_index) {
3039 ThreadLocalData& tld = thread_local_data_[thread_index];
3040 if (tld.batch[CUSTOMER::C_COMMENT].kind() == Datum::NONE) {
3041 ARROW_ASSIGN_OR_RAISE(tld.batch[CUSTOMER::C_COMMENT],
3042 g_text.GenerateComments(tld.to_generate, 29, 116, tld.rng));
3043 }
3044 return Status::OK();
3045 }
3046
3047 struct ThreadLocalData {
3048 random::pcg32_fast rng;

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