| 279 | } // namespace |
| 280 | |
| 281 | std::shared_ptr<DataType> GetPhysicalType(const std::shared_ptr<DataType>& real_type) { |
| 282 | PhysicalTypeVisitor visitor{real_type, {}}; |
| 283 | ARROW_CHECK_OK(VisitTypeInline(*real_type, &visitor)); |
| 284 | return std::move(visitor.result); |
| 285 | } |
| 286 | |
| 287 | namespace { |
| 288 |
no test coverage detected