ClickHouse/tests/integration/test_executable_dictionary/user_scripts/input_slow.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
286 B
Python
Raw Normal View History

2021-12-25 13:34:17 +00:00
#!/usr/bin/python3
import os
import signal
2024-09-27 10:19:39 +00:00
import sys
2021-12-25 13:34:17 +00:00
import time
if __name__ == "__main__":
for line in sys.stdin:
time.sleep(5)
updated_line = line.replace("\n", "")
print(updated_line + "\t" + "Key " + updated_line, end="\n")
sys.stdout.flush()