| 2813 | } |
| 2814 | |
| 2815 | std::string Field::ComputeFingerprint() const { |
| 2816 | const auto& type_fingerprint = type_->fingerprint(); |
| 2817 | if (type_fingerprint.empty()) { |
| 2818 | // Underlying DataType doesn't support fingerprinting. |
| 2819 | return ""; |
| 2820 | } |
| 2821 | std::stringstream ss; |
| 2822 | ss << 'F'; |
| 2823 | if (nullable_) { |
| 2824 | ss << 'n'; |
| 2825 | } else { |
| 2826 | ss << 'N'; |
| 2827 | } |
| 2828 | ss << name_; |
| 2829 | ss << '{' << type_fingerprint << '}'; |
| 2830 | return ss.str(); |
| 2831 | } |
| 2832 | |
| 2833 | std::string Field::ComputeMetadataFingerprint() const { |
| 2834 | std::stringstream ss; |
nothing calls this directly
no test coverage detected