| 558 | } |
| 559 | |
| 560 | LogicalType::Type::type LogicalTypeId(const ColumnDescriptor* descr) { |
| 561 | if (const auto& logical_type = descr->logical_type()) { |
| 562 | return logical_type->type(); |
| 563 | } |
| 564 | return LogicalType::Type::NONE; |
| 565 | } |
| 566 | LogicalType::Type::type LogicalTypeId(const Statistics& stats) { |
| 567 | return LogicalTypeId(stats.descr()); |
| 568 | } |
no test coverage detected