Commit Graph

64 Commits

Author SHA1 Message Date
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
M1ha
166d23ca7c Refactoring 2018-11-28 15:33:01 +05:00
M1ha
abe0ae45c5 Added QuerySet that determines db with router help.
Added using(), create(), bulk_create(), all() methods to QuerySet
2018-11-28 15:30:19 +05:00
M1ha
d300d6e46e Фиксы по тестам 2018-11-26 19:17:58 +05:00
M1ha
745b7b7788 Fixed some bugs 2018-11-26 17:37:31 +05:00
M1ha
68914a20f0 Infi https://github.com/Infinidat/infi.clickhouse_orm/issues/89 fix
some refactoring
2018-11-23 11:04:31 +05:00
M1ha
e4b2958895 Changed serializer init to concrete model fields 2018-11-22 12:33:51 +05:00
M1ha
9b02a49bc9 Added all MergeTree engines supported in infi.clickhouse_orm 2018-11-22 11:09:38 +05:00