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

Method GetScale

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

Source from the content-addressed store, hash-verified

87}
88
89arrow::Result<int32_t> ColumnMetadata::GetScale() const {
90 std::string scale_string;
91 ARROW_ASSIGN_OR_RAISE(scale_string, metadata_map_->Get(kScale));
92
93 return std::stoi(scale_string);
94}
95
96arrow::Result<bool> ColumnMetadata::GetIsAutoIncrement() const {
97 std::string auto_increment_string;

Callers

nothing calls this directly

Calls 2

ARROW_ASSIGN_OR_RAISEFunction · 0.50
GetMethod · 0.45

Tested by

no test coverage detected