@@ -52,7 +52,7 @@ def config():
52
52
argparser .add_argument (
53
53
'--dry' ,
54
54
action = 'store_true' ,
55
- help = 'Dry mode - do not do anything that can harm.'
55
+ help = 'Dry mode - do not do anything that can harm. '
56
56
'Useful for debugging.'
57
57
)
58
58
argparser .add_argument (
@@ -75,29 +75,29 @@ def config():
75
75
'--mempool-max-events-num' ,
76
76
type = int ,
77
77
default = 100000 ,
78
- help = 'max events num to pool before batch write '
78
+ help = 'Max events number to pool - triggering pool flush '
79
79
)
80
80
argparser .add_argument (
81
81
'--mempool-max-flush-interval' ,
82
82
type = int ,
83
83
default = 60 ,
84
- help = 'max seconds num between flushes'
84
+ help = 'Max seconds number between pool flushes'
85
85
)
86
86
argparser .add_argument (
87
87
'--csvpool' ,
88
88
action = 'store_true' ,
89
- help = 'Cache data in csv files. '
89
+ help = 'Cache data in CSV pool files on disk. Requires memory pooling, thus enables --mempool even if it is not explicitly specified '
90
90
)
91
91
argparser .add_argument (
92
92
'--csvpool-file-path-prefix' ,
93
93
type = str ,
94
94
default = '/tmp/csvpool_' ,
95
- help = 'file path prefix to CSV pool files'
95
+ help = 'File path prefix to CSV pool files'
96
96
)
97
97
argparser .add_argument (
98
98
'--csvpool-keep-files' ,
99
99
action = 'store_true' ,
100
- help = 'Keep pool csv files.'
100
+ help = 'Keep CSV pool files. Useful for debugging '
101
101
)
102
102
103
103
argparser .add_argument (
@@ -156,7 +156,7 @@ def config():
156
156
'--src-file' ,
157
157
type = str ,
158
158
default = None ,
159
- help = 'Source file tp read data from'
159
+ help = 'Source file to read data from'
160
160
)
161
161
162
162
argparser .add_argument (
@@ -190,10 +190,10 @@ def config():
190
190
help = 'Password to be used when writing to dst'
191
191
)
192
192
argparser .add_argument (
193
- '--dst-db ' ,
193
+ '--dst-schema ' ,
194
194
type = str ,
195
195
default = None ,
196
- help = 'Database to be used when writing to dst'
196
+ help = 'Database/schema to be used when writing to dst'
197
197
)
198
198
argparser .add_argument (
199
199
'--dst-table' ,
@@ -262,15 +262,15 @@ def config():
262
262
'user' : args .dst_user ,
263
263
'password' : args .dst_password ,
264
264
},
265
- 'dst_db ' : args .dst_db ,
265
+ 'dst_schema ' : args .dst_schema ,
266
266
'dst_table' : args .dst_table ,
267
267
},
268
268
'file' : {
269
269
'csv_file_path' : args .dst_file ,
270
270
'csv_file_path_prefix' : args .csvpool_file_path_prefix ,
271
271
'csv_file_path_suffix_parts' : [],
272
272
'csv_keep_file' : args .csvpool_keep_files ,
273
- 'dst_db ' : args .dst_db ,
273
+ 'dst_schema ' : args .dst_schema ,
274
274
'dst_table' : args .dst_table ,
275
275
},
276
276
},
0 commit comments