M1ha Shvn
fc362e852f
Added tests on issue-42 ( #45 )
...
Fixed issue https://github.com/carrotquest/django-clickhouse/issues/42
2022-10-19 11:09:10 +03:00
M1ha Shvn
0e65f15333
get_final_versions fixes ( #38 )
...
1. Fixed problem when get_final_version() could return 2 rows instead of 1 and insert multiple sign < 0 rows with single sign > 0
2. Fixed problem from PR https://github.com/carrotquest/django-clickhouse/pull/37 , when date_col is not set for ClickHouseModel
2021-10-06 10:01:45 +05:00
M1ha Shvn
12069db14e
Fixed issue when INSTALLED_APPS settings contains AppConfig classes instead of module paths ( #35 )
...
Fixed issue when INSTALLED_APPS settings contains AppConfig classes instead of module paths
2021-10-01 17:38:10 +05:00
M1ha Shvn
0a7f0c1219
Implemented clickhouse_migrate
management command ( #33 )
...
1. Implemented `clickhouse_migrate` management command
2. Ability to print more verbose output when running `manage.py migrate` django command
2021-09-25 23:00:28 +05:00
M1ha
8d8a051636
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# requirements-test.txt
2021-07-08 12:29:25 +05:00
M1ha Shvn
3fba185be2
GitHub actions testing ( #29 )
...
1. Moved testing from TravisCI to GitHub Actions
2. Added linter and fixed most style errors
3. Added development section to README
4. Added docker testing environment
2021-07-08 12:27:35 +05:00
M1ha
893ffaf17c
1. Removed six dependency
...
2. pytz and typing are installed for old python versions only
3. psycopg2-bynary is installed in test environment instead of psycopg2
2021-07-06 10:19:12 +05:00
M1ha-Shvn
874eae88a0
Fixed compatibility with celery JSON serializer
2021-03-30 16:09:18 +05:00
M1ha
7d2d94336c
Added more docs
2020-02-07 13:05:19 +05:00
M1ha
210c36a127
1. Fixed bulk_update testing issue for django 2.1
...
2. Added python 3.8 and django 3.0 to travis testing
3. Split requirements.txt and requirements-test.txt
2020-02-07 11:14:39 +05:00
M1ha
54923e03bf
Fixed issue https://github.com/carrotquest/django-clickhouse/issues/11
2020-02-07 11:07:52 +05:00
M1ha
f9e33a6845
Fixed issue https://github.com/carrotquest/django-clickhouse/issues/9
2020-02-07 10:49:49 +05:00
M1ha
0751c67ce7
Added tests and fixes for bulk_create_returning and save_returning
2019-10-04 17:58:24 +05:00
M1ha
a39a04fa52
Added tests and fixes for bulk_create_returning and save_returning
2019-10-04 17:54:47 +05:00
M1ha
37712b4156
Fixing test bug
2019-06-28 13:33:22 +05:00
M1ha
8b9e2332db
Searching bug in datetime
2019-06-28 13:10:29 +05:00
M1ha
e99c6a1db3
Removed test on clickhouse timezone offset
...
as it doesn't work in different time zones
2019-06-28 12:21:08 +05:00
M1ha
a3e8d71bd8
Fix issue https://github.com/carrotquest/django-clickhouse/issues/1
2019-06-28 11:29:15 +05:00
M1ha
fafcbe4c93
Fixed python 3.7 compatibility issues
2019-06-26 12:24:46 +05:00
M1ha
ae253e0587
Багфиксы совместимости с python 3.7
2019-06-25 18:10:04 +05:00
M1ha
2798cbb602
Fixed bug with batched insert_tuple
2019-02-15 17:42:04 +05:00
M1ha
fc100fb066
Added tests on database tuples operations
2019-02-15 15:19:27 +05:00
M1ha
ef6fc46c5c
Measure time for inserting tuples
2019-02-05 15:13:15 +05:00
M1ha
cc1502d4a4
Release lock if something goes wrong in sync
2019-02-04 13:27:12 +05:00
M1ha
056f2582d4
More optimization and fixed some bugs
2019-02-03 23:05:54 +05:00
M1ha
88c1b9a75c
Merge branch 'master' into namedtuple
2019-02-03 21:20:08 +05:00
M1ha
0ddc31bc46
Added profiling test
2019-02-03 21:19:34 +05:00
M1ha
30b4b0568d
Fixed sync test bugs
2019-02-03 21:05:01 +05:00
M1ha
16dce3d047
Changed library to using generators instead of lists
...
and namedtuple instead of infi Model instance, for been more efficient.
Problems with sync_test
2019-02-03 14:24:21 +05:00
M1ha
27c9ca4dfc
Added namedtuple with defaults compatible.
2019-02-02 23:02:22 +05:00
M1ha
b03b829ed9
Speed up get_final_versions
2019-01-24 17:47:52 +05:00
M1ha
cc76166ae1
Fixed problem for single lock for multiple models
2019-01-24 11:31:16 +05:00
M1ha
75fcdeeec0
Made redis storage a singleton in order to reduce number of connections
2019-01-23 17:01:10 +05:00
M1ha
6db5f2b5bb
Speed up init of multiple clickhouse models in a row
2019-01-23 15:43:46 +05:00
M1ha
96b625ecff
Speed up of get_sync_objects (parallel execution on multiple databases)
2019-01-18 10:36:48 +05:00
M1ha
073e002125
Багфикс в версиях вставки данных в кликхаус
2019-01-16 17:17:48 +05:00
M1ha
43815723df
Added tests for get_final_versions on date and datetime
2019-01-14 12:45:46 +05:00
M1ha
ec72e31986
Tests written for get_final_version
2019-01-14 11:32:21 +05:00
M1ha
1f3dcedf55
Added ability to get final rows version with the help of version_col
2019-01-11 13:00:42 +05:00
M1ha
aed0928ba8
Added tests on syncing data to non default database
2019-01-10 17:02:58 +05:00
M1ha
96300761a7
Сделал создание стандартных типов при создании app-а.
...
Сделал галочку active у EventType.
2019-01-10 15:05:16 +05:00
M1ha
682c004ba4
Bugfix in getting sync models
2019-01-09 15:14:53 +05:00
M1ha
13b67ed77a
Fix time between batches count
2018-12-19 12:58:34 +05:00
M1ha
d830b74bcb
Created separate from infi MigrationHistory in order to:
...
1) inherit it from this library models
2) Use some extra functionality
2018-12-18 18:28:23 +05:00
M1ha
66ec7dd5db
Fixed error in migrate. Wrote tests
2018-12-18 17:33:34 +05:00
M1ha
2d4c8554cd
Changed migrations routing, dividing it into replicated and not replicated operations
2018-12-18 15:45:10 +05:00
M1ha
7e502ee8a8
1) Fixed SyncKillTest
...
2) Added some logs
2018-12-03 16:41:34 +05:00
M1ha
b52bfaccae
Fix in test
2018-11-29 19:15:27 +05:00
M1ha
762c1aa10d
1) Fixed SyncKillTest
...
2) Added some logs
2018-11-29 19:10:41 +05:00
M1ha
9742abbaec
Added test for killing sync process safety.
...
Test is not passing =)
2018-11-29 15:19:25 +05:00