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

streaming in QueryResult lost column infos when the target table is empty #222

Open
framlog opened this issue Jul 31, 2024 · 0 comments
Open

Comments

@framlog
Copy link

framlog commented Jul 31, 2024

Clickhouse returns only the a single block with num_rows == 0 when do SELECT over an empty table.

In such case, QueryResult::stream_blocks skips the first block, which's the only block containing infos.

The test passes because that fetch_all doesn't skip the first block.

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

1 participant