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

Function GetFloatingPrecisionName

cpp/src/arrow/integration/json_internal.cc:80–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78constexpr char kMonthDayNano[] = "MONTH_DAY_NANO";
79
80std::string GetFloatingPrecisionName(FloatingPointType::Precision precision) {
81 switch (precision) {
82 case FloatingPointType::HALF:
83 return "HALF";
84 case FloatingPointType::SINGLE:
85 return "SINGLE";
86 case FloatingPointType::DOUBLE:
87 return "DOUBLE";
88 default:
89 break;
90 }
91 return "UNKNOWN";
92}
93
94std::string GetTimeUnitName(TimeUnit::type unit) {
95 switch (unit) {

Callers 1

WriteTypeMetadataMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected