ClickHouse/tests/integration/test_executable_dictionary/user_scripts/input_slow.py
2022-03-22 17:39:58 +01:00

14 lines
286 B
Python
Executable File

#!/usr/bin/python3
import sys
import os
import signal
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()