Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
Doris-Extras committed Aug 29, 2024
1 parent f40938b commit 830898c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions be/src/runtime/stream_load/stream_load_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ class StreamLoadContext {
if (_schema_buffer == nullptr) {
SCOPED_SWITCH_THREAD_MEM_TRACKER_LIMITER(
ExecEnv::GetInstance()->stream_load_pipe_tracker());
_schema_buffer = ByteBuffer::allocate(config::stream_tvf_buffer_size, &_schema_buffer);
return ByteBuffer::allocate(config::stream_tvf_buffer_size, &_schema_buffer);
}
return _schema_buffer;
return Status::OK();
}

ByteBufferPtr schema_buffer() { return _schema_buffer; }
Expand Down

0 comments on commit 830898c

Please sign in to comment.