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

Function ShouldWrite

cpp/src/arrow/csv/parser.cc:63–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61
62template <bool IgnoreExtraColumns>
63constexpr bool ShouldWrite([[maybe_unused]] bool ignoring_extra_field) {
64 if constexpr (IgnoreExtraColumns) {
65 return !ignoring_extra_field;
66 }
67 return true;
68}
69
70// A helper class allocating the buffer for parsed values and writing into it
71// without any further resizes, except at the end.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected