ClickHouse/tests/integration/test_executable_dictionary/user_scripts/source_update.py
2021-12-28 22:55:31 +03: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()