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

Function IntervalTypeFingerprint

cpp/src/arrow/type.cc:2777–2789  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2775}
2776
2777static 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
2791static void AppendMetadataFingerprint(const KeyValueMetadata& metadata,
2792 std::stringstream* ss) {

Callers 1

ComputeFingerprintMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected