MCPcopy Create free account
hub / github.com/apache/arrow / CopyInto

Method CopyInto

python/pyarrow/src/arrow/python/arrow_to_pandas.cc:1615–1622  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1613 }
1614
1615 Status CopyInto(std::shared_ptr<ChunkedArray> data, int64_t rel_placement) override {
1616 const auto& ts_type = checked_cast<const TimestampType&>(*data->type());
1617 ARROW_DCHECK_EQ(UNIT, ts_type.unit()) << "Should only call instances of this writer "
1618 << "with arrays of the correct unit";
1619 ConvertNumericNullable<int64_t>(*data, kPandasTimestampNull,
1620 this->GetBlockColumnStart(rel_placement));
1621 return Status::OK();
1622 }
1623
1624 protected:
1625 Status Allocate() override {

Callers

nothing calls this directly

Calls 4

GetBlockColumnStartMethod · 0.80
OKFunction · 0.50
typeMethod · 0.45
unitMethod · 0.45

Tested by

no test coverage detected