Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion be/src/util/arrow/row_batch.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Status convert_to_arrow_batch(
Status convert_to_row_batch(
const arrow::RecordBatch& batch,
const RowDescriptor& row_desc,
std::shared_ptr<MemTracker> tracker,
const std::shared_ptr<MemTracker>& tracker,
std::shared_ptr<RowBatch>* result);

Status serialize_record_batch(const arrow::RecordBatch& record_batch, std::string* result);
Expand Down
4 changes: 2 additions & 2 deletions be/test/runtime/load_channel_mgr_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ OLAPStatus close_status;
int64_t wait_lock_time_ns;

// mock
DeltaWriter::DeltaWriter(WriteRequest* req, std::shared_ptr<MemTracker> mem_tracker,
DeltaWriter::DeltaWriter(WriteRequest* req, const std::shared_ptr<MemTracker>& mem_tracker,
StorageEngine* storage_engine) :
_req(*req) {
}
Expand All @@ -57,7 +57,7 @@ OLAPStatus DeltaWriter::init() {
return OLAP_SUCCESS;
}

OLAPStatus DeltaWriter::open(WriteRequest* req, std::shared_ptr<MemTracker> mem_tracker, DeltaWriter** writer) {
OLAPStatus DeltaWriter::open(WriteRequest* req, const std::shared_ptr<MemTracker>& mem_tracker, DeltaWriter** writer) {
if (open_status != OLAP_SUCCESS) {
return open_status;
}
Expand Down