Uh oh!
There was an error while loading. Please reload this page.
GH-38117: [C++][Parquet] Change DictEncoder dtor checking to warning log - #38118
Conversation
536bb89 to
9b77ec6Compare| ~DictEncoderImpl() override { | ||
| #ifndef NDEBUG | ||
| if (!buffered_indices_.empty()) { | ||
| ARROW_LOG(WARNING) << "DictEncoderImpl destroyed without flushing or closing"; |
There was a problem hiding this comment.
| ARROW_LOG(WARNING) << "DictEncoderImpl destroyed without flushing or closing"; | |
| ARROW_LOG(WARNING) << "DictEncoderImpl is destroyed without flushing or closing"; |
There was a problem hiding this comment.
IIUC, the behavior has changed under debug mode, which calls abort() in the past.
pitrou
commented
Oct 18, 2023
I think we can just remove the check/warning. It does not seem very useful, and other encoders don't have it. |
mapleFU
commented
Oct 19, 2023
@pitrou removed now. |
pitrou
commented
Oct 19, 2023
Oops, I should have changed the PR title before merging... |
mapleFU
commented
Oct 19, 2023
My bad... So sorry for fotget changing the title. |
After merging your PR, Conbench analyzed the 6 benchmarking runs that have been run so far on merge-commit 02ad5ae. There were 5 benchmark results indicating a performance regression:
The full Conbench report has more details. It also includes information about 1 possible false positive for unstable benchmarks that are known to sometimes produce them. |
…rning log (apache#38118) ### Rationale for this change This is a minor change, just change `DCHECK` to warning log. ### What changes are included in this PR? change `DCHECK` to warning log. ### Are these changes tested? no, I don't know how to test this, any idea is welcome. ### Are there any user-facing changes? no * Closes: apache#38117 Authored-by: mwish <maplewish117@gmail.com> Signed-off-by: Antoine Pitrou <antoine@python.org>
…rning log (apache#38118) ### Rationale for this change This is a minor change, just change `DCHECK` to warning log. ### What changes are included in this PR? change `DCHECK` to warning log. ### Are these changes tested? no, I don't know how to test this, any idea is welcome. ### Are there any user-facing changes? no * Closes: apache#38117 Authored-by: mwish <maplewish117@gmail.com> Signed-off-by: Antoine Pitrou <antoine@python.org>
Rationale for this change
This is a minor change, just change
DCHECKto warning log.What changes are included in this PR?
change
DCHECKto warning log.Are these changes tested?
no, I don't know how to test this, any idea is welcome.
Are there any user-facing changes?
no
DictEncoderdtor checking #38117