dbhose-airflow 0.0.2.6__py3-none-any.whl → 0.0.2.8__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- dbhose_airflow/LOGO +1 -1
- dbhose_airflow/__init__.py +1 -1
- dbhose_airflow/chunk_query.py +2 -2
- dbhose_airflow/move/clickhouse/replace.sql +7 -2
- {dbhose_airflow-0.0.2.6.dist-info → dbhose_airflow-0.0.2.8.dist-info}/METADATA +3 -3
- {dbhose_airflow-0.0.2.6.dist-info → dbhose_airflow-0.0.2.8.dist-info}/RECORD +10 -10
- {dbhose_airflow-0.0.2.6.dist-info → dbhose_airflow-0.0.2.8.dist-info}/licenses/CHANGELOG.md +11 -0
- {dbhose_airflow-0.0.2.6.dist-info → dbhose_airflow-0.0.2.8.dist-info}/WHEEL +0 -0
- {dbhose_airflow-0.0.2.6.dist-info → dbhose_airflow-0.0.2.8.dist-info}/licenses/README.md +0 -0
- {dbhose_airflow-0.0.2.6.dist-info → dbhose_airflow-0.0.2.8.dist-info}/top_level.txt +0 -0
dbhose_airflow/LOGO
CHANGED
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
((_)()\ ) ))\ )\ ( ( ( ))\ )\()) ( /(_)) )((_) ((_)\ ( ( ))\
|
|
6
6
|
_(())\_)() /((_) (( ) )\ )\ )\ ' /((_) (_))/ )\ (_))_ ((_)_ _((_) )\ )\ /((_)
|
|
7
7
|
\ \((_)/ /(_)) | | ((_) ((_) _((_)) (_)) | |_ ((_) | \ | _ ) | || | ((_) ((_) (_))
|
|
8
|
-
\ \/\/ / / -_) | | / _| / _ \ | '
|
|
8
|
+
\ \/\/ / / -_) | | / _| / _ \ | ' ' | / -_) | _| / _ \ | |) | | _ \ | __ | / _ \ (_-< / -_)
|
|
9
9
|
\_/\_/ \___| |_| \__| \___/ |_|_|_| \___| \__| \___/ |___/ |___/ |_||_| \___/ /__/ \___|
|
dbhose_airflow/__init__.py
CHANGED
dbhose_airflow/chunk_query.py
CHANGED
|
@@ -2,7 +2,12 @@ with
|
|
|
2
2
|
'{table_temp}' as table_temp
|
|
3
3
|
, '{table_dest}' as table_dest
|
|
4
4
|
, partitions as (
|
|
5
|
-
select
|
|
5
|
+
select
|
|
6
|
+
IF(
|
|
7
|
+
match(partition, '^(\(.*\)|[0-9]+)$'),
|
|
8
|
+
partition,
|
|
9
|
+
concat('\'', partition, '\'')
|
|
10
|
+
) as part
|
|
6
11
|
from system.parts
|
|
7
12
|
where database = splitByChar('.', table_temp)[1]
|
|
8
13
|
and table = splitByChar('.', table_temp)[2]
|
|
@@ -18,7 +23,7 @@ select
|
|
|
18
23
|
arrayStringConcat(
|
|
19
24
|
arrayMap(
|
|
20
25
|
p -> 'replace partition ' || p || ' from ' || table_temp
|
|
21
|
-
, groupArray(
|
|
26
|
+
, groupArray(part)
|
|
22
27
|
), ', ')
|
|
23
28
|
, '') as move_query
|
|
24
29
|
from partitions
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dbhose_airflow
|
|
3
|
-
Version: 0.0.2.
|
|
3
|
+
Version: 0.0.2.8
|
|
4
4
|
Summary: airflow class for exchanging data between DBMSs in native binary formats.
|
|
5
5
|
Home-page: https://github.com/0xMihalich/dbhose_airflow
|
|
6
6
|
Author: 0xMihalich
|
|
@@ -9,8 +9,8 @@ Description-Content-Type: text/markdown
|
|
|
9
9
|
License-File: README.md
|
|
10
10
|
License-File: CHANGELOG.md
|
|
11
11
|
Requires-Dist: apache-airflow>=2.4.3
|
|
12
|
-
Requires-Dist: native-dumper==0.3.3.
|
|
13
|
-
Requires-Dist: pgpack-dumper==0.3.3.
|
|
12
|
+
Requires-Dist: native-dumper==0.3.3.3
|
|
13
|
+
Requires-Dist: pgpack-dumper==0.3.3.6
|
|
14
14
|
Dynamic: author
|
|
15
15
|
Dynamic: author-email
|
|
16
16
|
Dynamic: description
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
dbhose_airflow/LOGO,sha256=
|
|
2
|
-
dbhose_airflow/__init__.py,sha256=
|
|
1
|
+
dbhose_airflow/LOGO,sha256=YVxtMUxFguM6gfqqBVWHzm8vn5wWp2o8NbzWCAn4a4E,783
|
|
2
|
+
dbhose_airflow/__init__.py,sha256=ahE5SqIV9wi7mlsZ9yrOsCTUjaQYoZzOtxs-gHXB0J8,15629
|
|
3
3
|
dbhose_airflow/airflow_connect.py,sha256=unsRItnK4Q_ieMiGKEsCw8Q_8wkaXdVOfaSWLNRyujM,906
|
|
4
|
-
dbhose_airflow/chunk_query.py,sha256=
|
|
4
|
+
dbhose_airflow/chunk_query.py,sha256=I5BpBYYjdNiTMiEy7JefmUjVuouAXDtmFbi9RPhNrUI,275
|
|
5
5
|
dbhose_airflow/dq_check.py,sha256=VoAw8qieA5LM1a7jaMPO3AQ7QXe_-ThZ8Gy868ozjHw,689
|
|
6
6
|
dbhose_airflow/dumper.py,sha256=5UbUHvGb4ASQT78KdWwKSwD67wYi0T4jeoZ4gku-7tc,1863
|
|
7
7
|
dbhose_airflow/move_method.py,sha256=EkrDy2VCbL78zfZZhwWH0gF4Ijno20FP1mRfjiABrkk,532
|
|
@@ -30,14 +30,14 @@ dbhose_airflow/dq/postgres/sum.sql,sha256=1uq6V2hXn3HJhQrAM_id0FCZd-fbbfdXUNLTMJ
|
|
|
30
30
|
dbhose_airflow/dq/postgres/total.sql,sha256=lhw4PLEKN2Mn7E1FXIKg4l1IZ6cAHEZkPcLCbKbeP_4,37
|
|
31
31
|
dbhose_airflow/dq/postgres/uniq.sql,sha256=myYh7TTc-c-ixnXwMibopz4bMr9qnkvU-29nt89cq8o,227
|
|
32
32
|
dbhose_airflow/move/clickhouse/delete.sql,sha256=qyQ3YrDqBx4AhRMqEvcfIJAP4UauVEys_BshuMsCgUs,4316
|
|
33
|
-
dbhose_airflow/move/clickhouse/replace.sql,sha256=
|
|
33
|
+
dbhose_airflow/move/clickhouse/replace.sql,sha256=Pu_54dc2OE-E3oY1TbpZ5uQqH7iyWcefKgYphN6d_Vk,782
|
|
34
34
|
dbhose_airflow/move/greenplum/delete.sql,sha256=OJJqu3CmbipMUl_Oyw48yzRSfzchzyu4YAcu9gAscFc,502
|
|
35
35
|
dbhose_airflow/move/greenplum/replace.sql,sha256=Pk9g-3SBC78bB_s8ECh_6tPDqTvL1wxKNjzrTakfrL0,1976
|
|
36
36
|
dbhose_airflow/move/postgres/delete.sql,sha256=OJJqu3CmbipMUl_Oyw48yzRSfzchzyu4YAcu9gAscFc,502
|
|
37
37
|
dbhose_airflow/move/postgres/replace.sql,sha256=Pk9g-3SBC78bB_s8ECh_6tPDqTvL1wxKNjzrTakfrL0,1976
|
|
38
|
-
dbhose_airflow-0.0.2.
|
|
39
|
-
dbhose_airflow-0.0.2.
|
|
40
|
-
dbhose_airflow-0.0.2.
|
|
41
|
-
dbhose_airflow-0.0.2.
|
|
42
|
-
dbhose_airflow-0.0.2.
|
|
43
|
-
dbhose_airflow-0.0.2.
|
|
38
|
+
dbhose_airflow-0.0.2.8.dist-info/licenses/CHANGELOG.md,sha256=WIZcDuDnA9v6Yo6vUQs78LE6gVp3tG6VFmkT0i3hQ4c,1551
|
|
39
|
+
dbhose_airflow-0.0.2.8.dist-info/licenses/README.md,sha256=-TsSFVS-bdRMNM-xhtqiZUXyD6D_lb6Uiz8LKEPGlP0,8822
|
|
40
|
+
dbhose_airflow-0.0.2.8.dist-info/METADATA,sha256=3U7j7iN4BvTkvzzN2molHu_DQczM-CWF4rn0F9P0oJc,9434
|
|
41
|
+
dbhose_airflow-0.0.2.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
42
|
+
dbhose_airflow-0.0.2.8.dist-info/top_level.txt,sha256=VlTXT0CLGGcVhbG9QPw2_a8H5UV03QMjvZ-NrPy6_jM,15
|
|
43
|
+
dbhose_airflow-0.0.2.8.dist-info/RECORD,,
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Version History
|
|
2
2
|
|
|
3
|
+
## 0.0.2.8
|
|
4
|
+
|
|
5
|
+
* Update depends pgpack-dumper==0.3.3.6
|
|
6
|
+
|
|
7
|
+
## 0.0.2.7
|
|
8
|
+
|
|
9
|
+
* Fix clickhouse replace partition query
|
|
10
|
+
* Improve query_part() function
|
|
11
|
+
* Update depends native-dumper==0.3.3.3
|
|
12
|
+
* Fix LOGO letters
|
|
13
|
+
|
|
3
14
|
## 0.0.2.6
|
|
4
15
|
|
|
5
16
|
* Update depends pgpack-dumper==0.3.3.5
|
|
File without changes
|
|
File without changes
|
|
File without changes
|