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

Method WrapConversionError

cpp/src/arrow/csv/column_builder.cc:113–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111 }
112
113 Status WrapConversionError(const Status& st) {
114 if (ARROW_PREDICT_TRUE(st.ok())) {
115 return st;
116 } else {
117 std::stringstream ss;
118 ss << "In CSV column #" << col_index_ << ": " << st.message();
119 return st.WithMessage(ss.str());
120 }
121 }
122
123 MemoryPool* pool_;
124 int32_t col_index_;

Callers

nothing calls this directly

Calls 2

strMethod · 0.80
okMethod · 0.45

Tested by

no test coverage detected