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

Query stats #91

Merged
merged 2 commits into from
Aug 17, 2023
Merged

Query stats #91

merged 2 commits into from
Aug 17, 2023

Conversation

auxten
Copy link
Member

@auxten auxten commented Aug 17, 2023

Example:

res = chdb.query('select * from file("data.csv", CSV)', 'CSV');  print(res)
print(f"SQL read {res.rows_read()} rows, {res.bytes_read()} bytes, elapsed {res.elapsed()} seconds")

@auxten auxten linked an issue Aug 17, 2023 that may be closed by this pull request
@auxten auxten merged commit 7dec57c into main Aug 17, 2023
auxten added a commit that referenced this pull request Nov 9, 2023
* Add query result statistics rows_read(), bytes_read(), elapsed()

* Add example and statistics test
auxten added a commit that referenced this pull request Dec 8, 2023
* Add query result statistics rows_read(), bytes_read(), elapsed()

* Add example and statistics test
auxten added a commit that referenced this pull request Jun 7, 2024
* Add query result statistics rows_read(), bytes_read(), elapsed()

* Add example and statistics test
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

Successfully merging this pull request may close these issues.

Include time, rows, and bytes read in query result
1 participant