| 717 | } |
| 718 | |
| 719 | virtual std::string ToJSON() const { |
| 720 | ::arrow::internal::JsonWriter writer; |
| 721 | writer.StartObject(); |
| 722 | writer.StringField("Type", ToString()); |
| 723 | writer.EndObject(); |
| 724 | PARQUET_ASSIGN_OR_THROW(std::string_view json, writer.GetString()); |
| 725 | return std::string(json); |
| 726 | } |
| 727 | |
| 728 | virtual format::LogicalType ToThrift() const { |
| 729 | // logical types inheriting this method should never be serialized |
nothing calls this directly
no test coverage detected