This file contains 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
pip install pytest pytest-benchmark | |
pytest test.py |
This file contains 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
Thread 85 (Thread 0x7f67519fe6c0 (LWP 1204905) "python3.11"): | |
#0 0x00007f679a2a9169 in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x7f67519fd3a0, op=137, expected=0, futex_word=0x7f679a8e7d50 <_PyRuntime+432>) at futex-internal.c:57 | |
#1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x7f679a8e7d50 <_PyRuntime+432>, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7f67519fd3a0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87 | |
#2 0x00007f679a2a91ef in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7f679a8e7d50 <_PyRuntime+432>, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7f67519fd3a0, private=private@entry=0) at futex-internal.c:139 | |
#3 0x00007f679a2abe72 in __pthread_cond_wait_common (abstime=0x7f67519fd3a0, clockid=1, mutex=0x7f679a2ab830 <__condvar_cleanup_waiting>, cond=0x7f679a8e7d28 <_PyRuntime+392>) at pthread_cond_wait.c:503 | |
#4 ___pthread_cond_timedwait64 (cond=c |
This file contains 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
import pyarrow.flight | |
import adbc_driver_postgresql.dbapi | |
_USERNAME = ".." | |
_PASSWORD = ".." | |
_DATABASE = ".." | |
_INIT = [ | |
"DROP TABLE numeric_test;", |
This file contains 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
import adbc_driver_postgresql.dbapi | |
_USERNAME = "..." | |
_PASSWORD = "..." | |
_DATABASE = "..." | |
# tried values from 0 to 15. summary: | |
# | |
# 0 - 4: ok | |
# 5 - corrupt |