Skip to content

Commit

Permalink
remove dtor for DictEncoderImpl
Browse files Browse the repository at this point in the history
  • Loading branch information
mapleFU committed Oct 19, 2023
1 parent a84387b commit 5d76b89
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions cpp/src/parquet/encoding.cc
Original file line number Diff line number Diff line change
Expand Up @@ -442,13 +442,7 @@ class DictEncoderImpl : public EncoderImpl, virtual public DictEncoder<DType> {
dict_encoded_size_(0),
memo_table_(pool, kInitialHashTableSize) {}

~DictEncoderImpl() override {
#ifndef NDEBUG
if (!buffered_indices_.empty()) {
ARROW_LOG(WARNING) << "DictEncoderImpl destroyed without flushing or closing";
}
#endif
}
~DictEncoderImpl() = default;

int dict_encoded_size() const override { return dict_encoded_size_; }

Expand Down

0 comments on commit 5d76b89

Please sign in to comment.