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

EXPLAIN queries do not return results #98

Open
Sets88 opened this issue Oct 27, 2023 · 2 comments
Open

EXPLAIN queries do not return results #98

Sets88 opened this issue Oct 27, 2023 · 2 comments

Comments

@Sets88
Copy link

Sets88 commented Oct 27, 2023

When running an explain query, such as:
EXPLAIN SELECT 1;

The fetch operation returns empty, so there is no way to obtain a result from this query.

@Maksim-Burtsev
Copy link
Contributor

Its looks like separate method .explain() which return string with response from ClickHouse.
@maximdanilchenko what do you think about this? I can implement it

@Sets88
Copy link
Author

Sets88 commented Feb 9, 2024

In fact, after executing the 'explain' query, data is arriving in accordance with the sniffed network traffic. However, it is not being processed by the library. Therefore, if i was you I would not to create a separate method, but to process the received data in the normal way

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