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

Function GetFloatingPrecisionName

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

Source from the content-addressed store, hash-verified

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

Callers 1

WriteTypeMetadataMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected