send query events from the SELECT part of CREATE OR REPLACE TABLE query#87247
Conversation
…. SELECT ...' The SELECT section might take a lot of time, so let's: - Send progress, logs, and stats for this query - Avoid firing TCP session receive timeouts - Make this query cancellable
|
The PR resolves #38416 |
|
Workflow [PR], commit [2b31be1] Summary: ❌
|
|
There is an error: |
2b37ba3 to
2790cc7
Compare
2790cc7 to
133d637
Compare
133d637 to
8331530
Compare
4288b6b to
c7a1c57
Compare
c7a1c57 to
a792b9b
Compare
|
test_storage_delta/test.py::test_replicated_database_and_unavailable_s3 is broken test on master see |
|
Thank you @tuanpach for updating the branch! The failures aren't related to the changes:
|
|
test_s3_access_headers 02177_issue_31009 |
|
@Diskein I merged Could you help double-check? |
Yep, it looks good to me. I've seen your changes in which you replaced an optional to a shared_ptr and used weak_ptrs for checking if callbacks use a valid query state. I'm a little bit worried about other callbacks in TCPHandler too. it's maybe just a matter of time when somebody reuses them or/and their query context. |
You are right. I will have a separate PR to fix other callbacks. |
88bc05c
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
You can see a progress bar, logs and performance statistics for
CREATE OR REPLACE TABLEqueries withSELECTin clickhouse-client. This query will no longer lead to timeout even if theSELECTis quite time consuming. Resolves #38416Details
The SELECT section might take a lot of time, so let's:
Resolves #38416