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

Native driver fails with stream results #286

Closed
akurdyukov opened this issue Jan 22, 2024 · 0 comments · Fixed by #287
Closed

Native driver fails with stream results #286

akurdyukov opened this issue Jan 22, 2024 · 0 comments · Fixed by #287

Comments

@akurdyukov
Copy link
Contributor

Describe the bug
Using execute() with stream_results enabled gives exception.

To Reproduce
Test like this

    def test_with_stream_results(self):
        rv = self.session.execute(text("SELECT * FROM system.numbers LIMIT 1"),
                                  execution_options={"stream_results": True})

        self.assertEqual(len(rv.fetchall()), 1)

Expected behavior
Test should pass.

Versions

  • Package version: 0.3.0
  • Python version: 3.10
akurdyukov added a commit to akurdyukov/clickhouse-sqlalchemy that referenced this issue Jan 22, 2024
@akurdyukov akurdyukov mentioned this issue Jan 22, 2024
4 tasks
xzkostyan added a commit that referenced this issue Jan 23, 2024
xzkostyan added a commit that referenced this issue Jan 23, 2024
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 a pull request may close this issue.

1 participant