| 79 | constexpr char kMonthDayNano[] = "MONTH_DAY_NANO"; |
| 80 | |
| 81 | std::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 | |
| 95 | std::string GetTimeUnitName(TimeUnit::type unit) { |
| 96 | switch (unit) { |