| 1751 | } |
| 1752 | |
| 1753 | Status CopyInto(std::shared_ptr<ChunkedArray> data, int64_t rel_placement) override { |
| 1754 | const auto& type = checked_cast<const DurationType&>(*data->type()); |
| 1755 | ARROW_DCHECK_EQ(UNIT, type.unit()) << "Should only call instances of this writer " |
| 1756 | << "with arrays of the correct unit"; |
| 1757 | ConvertNumericNullable<int64_t>(*data, kPandasTimestampNull, |
| 1758 | this->GetBlockColumnStart(rel_placement)); |
| 1759 | return Status::OK(); |
| 1760 | } |
| 1761 | |
| 1762 | protected: |
| 1763 | Status Allocate() override { return AllocateTimedelta(2); } |
nothing calls this directly
no test coverage detected