[Feature](multi-catalog) Add memory tracker for orc reader/writer and arrow parquet writer。#37257
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
|
|
||
| #pragma once | ||
|
|
||
| #include "orc/MemoryPool.hh" |
There was a problem hiding this comment.
warning: 'orc/MemoryPool.hh' file not found [clang-diagnostic-error]
#include "orc/MemoryPool.hh"
^| #endif // #if defined(USE_JEMALLOC) && defined(USE_MEM_TRACKER) | ||
| } | ||
|
|
||
| void free(char* p) override { |
There was a problem hiding this comment.
warning: pointer parameter 'p' can be pointer to const [readability-non-const-parameter]
| void free(char* p) override { | |
| void free(const char* p) override { |
| set_compression_type(compress_type); | ||
| } | ||
|
|
||
| VOrcTransformer::~VOrcTransformer() { |
There was a problem hiding this comment.
warning: use '= default' to define a trivial destructor [modernize-use-equals-default]
VOrcTransformer::~VOrcTransformer() {
^| const iceberg::Schema* iceberg_schema = nullptr); | ||
|
|
||
| ~VOrcTransformer() = default; | ||
| ~VOrcTransformer(); |
There was a problem hiding this comment.
warning: annotate this function with 'override' or (rarely) 'final' [modernize-use-override]
| ~VOrcTransformer(); | |
| ~VOrcTransformer() override; |
cf824f8 to
9d35789
Compare
|
run buildall |
|
TeamCity be ut coverage result: |
9d35789 to
bb95ae7
Compare
|
run buildall |
|
TeamCity be ut coverage result: |
bb95ae7 to
4ebdd75
Compare
|
run buildall |
37921e7 to
7df36ce
Compare
|
run buildall |
7df36ce to
fa2511b
Compare
|
run buildall |
fa2511b to
a879062
Compare
|
run buildall |
|
TeamCity be ut coverage result: |
a879062 to
8d619bf
Compare
8d619bf to
78d16de
Compare
|
run buildall |
78d16de to
9b362e4
Compare
|
run buildall |
9b362e4 to
ed40639
Compare
|
run buildall |
|
TeamCity be ut coverage result: |
|
run buildall |
| return arrow::Status::OK(); | ||
| } | ||
|
|
||
| void ArrowAllocator::deallocate_aligned(uint8_t* ptr, int64_t size, int64_t alignment) { |
There was a problem hiding this comment.
warning: pointer parameter 'ptr' can be pointer to const [readability-non-const-parameter]
| void ArrowAllocator::deallocate_aligned(uint8_t* ptr, int64_t size, int64_t alignment) { | |
| void ArrowAllocator::deallocate_aligned(const uint8_t* ptr, int64_t size, int64_t alignment) { |
be/src/vec/exec/format/parquet/arrow_memory_pool.h:47:
- void deallocate_aligned(uint8_t* ptr, int64_t size, int64_t alignment);
+ void deallocate_aligned(const uint8_t* ptr, int64_t size, int64_t alignment);64a4a7e to
bf1a1a9
Compare
|
run buildall |
|
TeamCity be ut coverage result: |
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
bf1a1a9 to
8f3272d
Compare
|
run buildall |
|
TeamCity be ut coverage result: |
8f3272d to
d746ddc
Compare
|
run buildall |
|
TeamCity be ut coverage result: |
Proposed changes
backport #37234