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

Method C_ADDRESS

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

Source from the content-addressed store, hash-verified

2967 }
2968
2969 Status C_ADDRESS(size_t thread_index) {
2970 ThreadLocalData& tld = thread_local_data_[thread_index];
2971 if (tld.batch[CUSTOMER::C_ADDRESS].kind() == Datum::NONE) {
2972 ARROW_ASSIGN_OR_RAISE(tld.batch[CUSTOMER::C_ADDRESS],
2973 RandomVString(tld.rng, tld.to_generate, 10, 40));
2974 }
2975 return Status::OK();
2976 }
2977
2978 Status C_NATIONKEY(size_t thread_index) {
2979 ThreadLocalData& tld = thread_local_data_[thread_index];

Callers

nothing calls this directly

Calls 4

RandomVStringFunction · 0.85
ARROW_ASSIGN_OR_RAISEFunction · 0.70
OKFunction · 0.50
kindMethod · 0.45

Tested by

no test coverage detected