| 627 | |
| 628 | template <typename ArrowType> |
| 629 | std::string FormatValue(typename TypeTraits<ArrowType>::CType value) { |
| 630 | struct StringAppender { |
| 631 | std::string string; |
| 632 | Status operator()(std::string_view view) { |
| 633 | string.append(view.data(), view.size()); |
| 634 | return Status::OK(); |
| 635 | } |
| 636 | } appender; |
| 637 | arrow::internal::StringFormatter<ArrowType> formatter; |
| 638 | ARROW_UNUSED(formatter(value, appender)); |
| 639 | return appender.string; |
| 640 | } |
| 641 | |
| 642 | std::shared_ptr<const KeyValueMetadata> PropertiesToMetadata( |
| 643 | const Blobs::Models::BlobProperties& properties) { |