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

Function GetFloatingPrecisionName

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

Source from the content-addressed store, hash-verified

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

Callers 1

WriteTypeMetadataMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected