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

Function DecodeDictionaries

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

Source from the content-addressed store, hash-verified

737}
738
739Status DecodeDictionaries(MemoryPool* pool, const std::shared_ptr<DataType>& dense_type,
740 ArrayVector* arrays) {
741 compute::ExecContext ctx(pool);
742 compute::CastOptions options;
743 for (size_t i = 0; i < arrays->size(); ++i) {
744 ARROW_ASSIGN_OR_RAISE((*arrays)[i],
745 compute::Cast(*(*arrays)[i], dense_type, options, &ctx));
746 }
747 return Status::OK();
748}
749
750Status DecodeDictionaries(MemoryPool* pool, const std::shared_ptr<DataType>& dense_type,
751 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