Created
November 7, 2025 08:18
-
-
Save azat/78ab100c053bd7e01fd0e97c7e5b003a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import clickhouse_driver | |
| c = clickhouse_driver.Client(host='127.1') | |
| c.execute('select * from numbers(100000)', settings={'send_profile_events': 0}) | |
| c.execute('select * from numbers(100000)', settings={'send_profile_events': 1}) | |
| c.execute('insert into function null() values', ((x, ) for x in range(5)), settings={'send_profile_events': 1}) | |
| # this is broken | |
| c.execute('insert into function null() values', ((x, ) for x in range(5)), settings={'send_profile_events': 0, 'receive_timeout': 5}) |
Author
azat
commented
Nov 7, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment