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

Function IntervalTypeFingerprint

cpp/src/arrow/type.cc:2782–2794  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

ComputeFingerprintMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected