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

Function DecodeDictionaries

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

Source from the content-addressed store, hash-verified

748}
749
750Status DecodeDictionaries(MemoryPool* pool, const std::shared_ptr<DataType>& dense_type,
751 ArrayVector* arrays) {
752 compute::ExecContext ctx(pool);
753 compute::CastOptions options;
754 for (size_t i = 0; i < arrays->size(); ++i) {
755 ARROW_ASSIGN_OR_RAISE((*arrays)[i],
756 compute::Cast(*(*arrays)[i], dense_type, options, &ctx));
757 }
758 return Status::OK();
759}
760
761Status DecodeDictionaries(MemoryPool* pool, const std::shared_ptr<DataType>& dense_type,
762 std::shared_ptr<ChunkedArray>* array) {

Callers 2

ConvertMapFunction · 0.85

Calls 5

CastFunction · 0.85
ARROW_ASSIGN_OR_RAISEFunction · 0.50
OKFunction · 0.50
sizeMethod · 0.45
chunksMethod · 0.45

Tested by

no test coverage detected