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

Function GenericConversionError

cpp/src/arrow/csv/converter.cc:52–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50namespace {
51
52Status GenericConversionError(const std::shared_ptr<DataType>& type, const uint8_t* data,
53 uint32_t size) {
54 return Status::Invalid("CSV conversion error to ", type->ToString(),
55 ": invalid value '",
56 std::string(reinterpret_cast<const char*>(data), size), "'");
57}
58
59inline bool IsWhitespace(uint8_t c) {
60 if (ARROW_PREDICT_TRUE(c > ' ')) {

Callers 8

DecodeMethod · 0.70
DecodeMethod · 0.70
DecodeMethod · 0.70
DecodeMethod · 0.70
DecodeMethod · 0.70
DecodeMethod · 0.70
DecodeMethod · 0.70
ConvertMethod · 0.70

Calls 2

InvalidFunction · 0.50
ToStringMethod · 0.45

Tested by

no test coverage detected