| 1580 | using TypedPandasWriter<NPY_DATETIME>::TypedPandasWriter; |
| 1581 | |
| 1582 | bool CanZeroCopy(const ChunkedArray& data) const override { |
| 1583 | if (data.type()->id() == Type::TIMESTAMP) { |
| 1584 | const auto& type = checked_cast<const TimestampType&>(*data.type()); |
| 1585 | return IsNonNullContiguous(data) && type.unit() == UNIT; |
| 1586 | } else { |
| 1587 | return false; |
| 1588 | } |
| 1589 | } |
| 1590 | |
| 1591 | Status CopyInto(std::shared_ptr<ChunkedArray> data, int64_t rel_placement) override { |
| 1592 | const auto& ts_type = checked_cast<const TimestampType&>(*data->type()); |
nothing calls this directly
no test coverage detected