Replies: 2 comments 2 replies
-
|
@auxten @wudidapaopao |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I think this feature is great, and someone has also mentioned this feature request in previous chdb issues. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
ClickHouse client supports showing a progress bar for long-running queries, as well as a progress table with real-time metrics since 24.10 [1][2]. DuckDB’s Python API recently introduced an API to programmatically retrieve query progress, which is more flexible [3][4].
I thought similar capabilities could be useful for
chdbwhen it is used from Python scripts as a shell-like command. Based on this idea, I experimented with integrating ClickHouse client's query progress support intochdb, and I now have an initial version working on my local machine (see the demos below).During this experimentation, I noticed that some progress-related code paths and flags are explicitly disabled or ignored in
chdb. Enabling this functionality would indeed make the client/server connection code more complex.Before submitting an issue or PR, I’d like to ask whether this direction aligns with the project’s goals and would be considered desirable for
chdb. Thanks!progress bar demo
progress table demo
References
[1] An option for clickhouse-client to show realtime table with metrics, ClickHouse/ClickHouse#63689
[2] ClickHouse 24.10 new feature
--progress-table, https://clickhouse.com/docs/whats-new/changelog/2024#new-feature-2[3] duckdb/duckdb#16927
[4] duckdb/duckdb#11923
Beta Was this translation helpful? Give feedback.
All reactions