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

Function AsDictionary32Encoded

cpp/src/parquet/arrow/arrow_reader_writer_test.cc:5042–5047  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5040};
5041
5042void AsDictionary32Encoded(const Array& arr, std::shared_ptr<Array>* out) {
5043 ::arrow::StringDictionary32Builder builder(default_memory_pool());
5044 const auto& string_array = static_cast<const ::arrow::StringArray&>(arr);
5045 ASSERT_OK(builder.AppendArray(string_array));
5046 ASSERT_OK(builder.Finish(out));
5047}
5048
5049TEST_P(TestArrowReadDictionary, ReadWholeFileDict) {
5050 properties_.set_read_dictionary(0, true);

Callers 2

TEST_PFunction · 0.85
TESTFunction · 0.85

Calls 3

default_memory_poolFunction · 0.85
AppendArrayMethod · 0.45
FinishMethod · 0.45

Tested by

no test coverage detected