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

13 lines
260 B
Python
Executable File

#!/usr/bin/python3
import sys
if __name__ == "__main__":
update_field_value = 0
if len(sys.argv) >= 2:
update_field_value = int(sys.argv[1])
print("1" + "\t" + "Value " + str(update_field_value) + " 1", end="\n")
sys.stdout.flush()