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

Method GetPrecision

cpp/src/arrow/flight/sql/column_metadata.cc:82–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82arrow::Result<int32_t> ColumnMetadata::GetPrecision() const {
83 std::string precision_string;
84 ARROW_ASSIGN_OR_RAISE(precision_string, metadata_map_->Get(kPrecision));
85
86 return std::stoi(precision_string);
87}
88
89arrow::Result<int32_t> ColumnMetadata::GetScale() const {
90 std::string scale_string;

Callers

nothing calls this directly

Calls 2

ARROW_ASSIGN_OR_RAISEFunction · 0.50
GetMethod · 0.45

Tested by

no test coverage detected