| 2775 | } |
| 2776 | |
| 2777 | static char IntervalTypeFingerprint(IntervalType::type unit) { |
| 2778 | switch (unit) { |
| 2779 | case IntervalType::DAY_TIME: |
| 2780 | return 'd'; |
| 2781 | case IntervalType::MONTHS: |
| 2782 | return 'M'; |
| 2783 | case IntervalType::MONTH_DAY_NANO: |
| 2784 | return 'N'; |
| 2785 | default: |
| 2786 | DCHECK(false) << "Unexpected IntervalType::type"; |
| 2787 | return '\0'; |
| 2788 | } |
| 2789 | } |
| 2790 | |
| 2791 | static void AppendMetadataFingerprint(const KeyValueMetadata& metadata, |
| 2792 | std::stringstream* ss) { |