Skip to content

Commit e54734f

Browse files
committed
write --src-tables-where-clauses explanation
1 parent fbc5b56 commit e54734f

File tree

6 files changed

+12
-6
lines changed

6 files changed

+12
-6
lines changed

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# clickhouse-mysql 2019-09-03
2+
3+
## improvements
4+
* fix --src-tables-where-clauses to accept both filenames (for long where-clauses) and where-cluases themselves (for shorted clauses)
5+
6+
## bugfixes
7+
* fix --src-port CLI option
8+
* ensure UTF8 for source migration
9+
110
# clickhouse-mysql 2019-03-25
211

312
## new features
@@ -21,4 +30,4 @@
2130

2231
## bugfixes
2332
* config files vs CLI options order fixed
24-
33+

clickhouse_mysql/clioptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ def options(self):
342342
'--src-tables-where-clauses',
343343
type=str,
344344
default=self.default_options['src_tables_where_clauses'],
345-
help='Comma-separated list of WHERE clauses for tables to be migrated. Ex.: db1.t1="a=1 and b=2",db2.t2="c=3 and k=4"'
345+
help='Comma-separated list of WHERE clauses for tables to be migrated. Ex.: db1.t1="a=1 and b=2",db2.t2="c=3 and k=4". Accepts both (comma-separated) clause (useful for short clauses) or file where clause is located (useful for long clauses)'
346346
)
347347
argparser.add_argument(
348348
'--src-tables-prefixes',

db.log_201801_1.sql

Lines changed: 0 additions & 1 deletion
This file was deleted.

db.log_201801_2.sql

Lines changed: 0 additions & 1 deletion
This file was deleted.

db.log_201801_3.sql

Lines changed: 0 additions & 1 deletion
This file was deleted.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
name="clickhouse-mysql",
88

99
# version should comply with PEP440
10-
version='0.0.20190903',
10+
version='0.0.20190904',
1111

1212
description='MySQL to ClickHouse data migrator',
1313
long_description='MySQL to ClickHouse data migrator',

0 commit comments

Comments
 (0)