| 641 | } |
| 642 | |
| 643 | std::shared_ptr<const LogicalType> LogicalType::Timestamp( |
| 644 | bool is_adjusted_to_utc, LogicalType::TimeUnit::unit time_unit, |
| 645 | bool is_from_converted_type, bool force_set_converted_type) { |
| 646 | DCHECK(time_unit != LogicalType::TimeUnit::UNKNOWN); |
| 647 | return TimestampLogicalType::Make(is_adjusted_to_utc, time_unit, is_from_converted_type, |
| 648 | force_set_converted_type); |
| 649 | } |
| 650 | |
| 651 | std::shared_ptr<const LogicalType> LogicalType::Interval() { |
| 652 | return IntervalLogicalType::Make(); |