From 043ced243ed0eadb8f962a366d5e34c3f7981b5f Mon Sep 17 00:00:00 2001 From: Vlad Zolotarov Date: Tue, 18 Sep 2018 20:55:04 -0400 Subject: [PATCH] fix_system_distributed_tables.sh: adjust newly added 'request_size' and 'response_size' columns Adjust the script to the new schema of system_traces.sessions. Two new columns have been added: - request_size: int - response_size: int Signed-off-by: Vlad Zolotarov Message-Id: <20180919005504.12498-1-vladz@scylladb.com> --- fix_system_distributed_tables.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fix_system_distributed_tables.py b/fix_system_distributed_tables.py index 0ca1f9ac15..f0bf86aa0e 100755 --- a/fix_system_distributed_tables.py +++ b/fix_system_distributed_tables.py @@ -43,7 +43,9 @@ sessions_cols = { 'duration' : 'int', 'parameters' : 'map', 'request' : 'text', - 'started_at' : 'timestamp' + 'started_at' : 'timestamp', + 'request_size' : 'int', + 'response_size' : 'int' } slow_query_log_cols = {