We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90a43f6 commit 83934d6Copy full SHA for 83934d6
1 file changed
src/paimon/format/orc/orc_adapter.cpp
@@ -481,7 +481,7 @@ class UnPooledStringDictionaryBuilder : public EmptyBuilder {
481
dict_builder->IncreaseLength(dict_offset.size() - 1);
482
std::shared_ptr<arrow::Array> dictionary;
483
ARROW_RETURN_NOT_OK(dict_builder->Finish(&dictionary));
484
- dictionary_.reset(new OrcStringDictionary(dictionary->data(), orc_dictionary));
+ dictionary_ = std::make_shared<OrcStringDictionary>(dictionary->data(), orc_dictionary);
485
return arrow::Status::OK();
486
}
487
0 commit comments