Skip to content
Discussion options

You must be logged in to vote

Found this

Ran the following and cancelled the request, which worked:

curl -i "http://localhost:8123/?query_id=api_test_1" --data-binary "SELECT sleep(10) Format Null"

Verified by running the following query:

SELECT event_time, query_id, type FROM system.query_log WHERE query_id LIKE 'fire_forget_test_%' ORDER BY event_time DESC LIMIT 10

SELECT
    event_time,
    query_id,
    type
FROM system.query_log
WHERE query_id LIKE 'fire_forget_test_%'
ORDER BY event_time DESC
LIMIT 10

Query id: 282cb3a9-feda-48aa-ae27-546ec172dc54

    ┌──────────event_time─┬─query_id─────────────────────────┬─type─────────────────────┐
 1. │ 2025-12-19 15:10:23 │ fire_forget_test_20251219_161023 │ QueryStart…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by LarsAlmgren
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant