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

Function AppendNumberPaddedToNineDigits

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

Source from the content-addressed store, hash-verified

555}
556
557void AppendNumberPaddedToNineDigits(char* out, int64_t x) {
558 size_t kPad = 9;
559 out += std::max(kPad, static_cast<size_t>(GetNumDigits(x)));
560 arrow::internal::detail::FormatAllDigitsLeftPadded(x, kPad, '0', &out);
561}
562
563Result<std::shared_ptr<Schema>> SetOutputColumns(
564 const std::vector<std::string>& columns,

Callers 3

O_CLERKMethod · 0.85
S_NAMEMethod · 0.85
C_NAMEMethod · 0.85

Calls 2

GetNumDigitsFunction · 0.85

Tested by

no test coverage detected