Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide an API for query progress reporting #292

Open
arnaudbriche opened this issue Jan 6, 2025 · 3 comments
Open

Provide an API for query progress reporting #292

arnaudbriche opened this issue Jan 6, 2025 · 3 comments

Comments

@arnaudbriche
Copy link

Use case

User is running long queries and we would like to report progress of the query execution.

Describe the solution you'd like

An API that would deliver progress packets similar to this to the caller.

Describe alternatives you've considered

Additional context

Add any other context or screenshots about the feature request here.

@auxten
Copy link
Member

auxten commented Jan 7, 2025

Would you like chDB print a progress bar on console or notebook?
Or, you need a async way to query and a getProgress function?

@arnaudbriche
Copy link
Author

Or, you need a async way to query and a getProgress function?

This, clearly. Having an async query API would allow to get progress but maybe also profile event, which would be awesome.

@auxten
Copy link
Member

auxten commented Jan 8, 2025

Thank you, that's a good suggestion.
And it's possible after chdb 2.3 release which move most heavy lifting works out of query function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants