Skip to content
Merged
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
4 changes: 4 additions & 0 deletions be/src/pipeline/pipeline_fragment_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,10 @@ void PipelineFragmentContext::cancel(const Status reason) {
auto stream_load_ctx = _exec_env->new_load_stream_mgr()->get(_query_id);
if (stream_load_ctx != nullptr) {
stream_load_ctx->pipe->cancel(reason.to_string());
// Set error URL here because after pipe is cancelled, stream load execution may return early.
// We need to set the error URL at this point to ensure error information is properly
// propagated to the client.
stream_load_ctx->error_url = get_load_error_url();
}

for (auto& tasks : _tasks) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import org.apache.http.util.EntityUtils

import java.text.SimpleDateFormat

suite("test_stream_load_with_filtered_rows", "p2") {
suite("test_stream_load_with_filtered_rows", "p0") {
sql "show tables"

// test length of input is too long than schema.
Expand Down
Loading