Commit Graph

152 Commits

Author SHA1 Message Date
M1ha-Shvn
874eae88a0 Fixed compatibility with celery JSON serializer 2021-03-30 16:09:18 +05:00
M1hacka
2adc9b84a0 Fixed import compatibility with new version on infi.clickhouse-orm 2020-06-03 11:17:20 +05:00
M1ha
5cb43ca6cd Converted all typing hints to python 3 style 2020-02-07 12:19:53 +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
818704989b Fixed issue https://github.com/carrotquest/django-clickhouse/issues/4 2020-02-06 18:57:49 +05:00
M1ha
f2dc978634 Added more docs 2020-02-06 13:39:56 +05:00
M1hacka
c0afa7b53a Merge remote-tracking branch 'origin/master' into docs
# Conflicts:
#	src/django_clickhouse/models.py
2019-12-01 17:07:02 +05:00
M1hacka
7b3287cf5c Added some docs 2019-12-01 13:33:43 +05:00
M1ha
4589230c97 Bugfix for old django, expecting manager to be instance of models.Manager 2019-10-16 10:28:59 +05:00
M1ha
746321e6b6 Bugfix for old django, expecting manager to be instance of models.Manager 2019-10-16 10:27:29 +05:00
M1ha
c58ed24187 Bugfix for old django, expecting manager to be instance of models.Manager 2019-10-16 10:27:19 +05:00
M1ha
9d8bdb74b9 Bugfix for old django, expecting manager to be instance of models.Manager 2019-10-15 18:13:42 +05:00
M1ha
fac7945ba5 Bugfix for old django, expecting manager to be instance of models.Manager 2019-10-15 18:13:14 +05:00
M1ha
a39a04fa52 Added tests and fixes for bulk_create_returning and save_returning 2019-10-04 17:54:47 +05:00
M1ha
6493373c8f Bugfix in QuerySetMixin inheritance 2019-09-11 15:35:43 +05:00
M1ha
0f1364b2b8 Bugfix in QuerySetMixin inheritance 2019-09-11 15:34:37 +05:00
M1ha
5f218d0da0 Фикс менеджера 2019-09-06 11:49:00 +05:00
M1ha
842f43b242 Added method to flush single import_key in storage 2019-07-15 17:43:36 +05:00
M1ha
85a785eb59 Opportunity to pass database data as strings without formatting 2019-07-15 16:56:16 +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
355b8c7321 Fix python 3.6 namedtuple compatibility 2019-06-28 11:09:17 +05:00
M1ha
04c5ba292a Bugfix in installing migrations 2019-06-27 16:41:25 +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
10fae9220c Added database parameters from infi.clickhouse_orm 1.0.4 2019-03-25 10:17:13 +05:00
M1ha
2798cbb602 Fixed bug with batched insert_tuple 2019-02-15 17:42:04 +05:00
M1ha
ab2fe24f74 Added request data logging in debug mode 2019-02-15 15:52:16 +05:00
M1ha
e436ae977b Fix for current clickhouse version 2019-02-15 15:43:59 +05:00
M1ha
90ec66f380 Changed model_to_dict, so it doesn't require _meta attribute,
if fields are given
2019-02-07 11:41:20 +05:00
M1ha
8d31209a58 Trying to fix queue monitoring increment bug 2019-02-06 17:47:54 +05:00
M1ha
4249b0e2b9 Measure time for inserting tuples 2019-02-05 15:17:37 +05:00
M1ha
ef6fc46c5c Measure time for inserting tuples 2019-02-05 15:13:15 +05:00
M1ha
df422d11f1 Disabled generators to monitor time better 2019-02-05 10:46:29 +05:00
M1ha
cc1502d4a4 Release lock if something goes wrong in sync 2019-02-04 13:27:12 +05:00
M1ha
bf69c29e4f Fixed serialization to tuple to_python converting 2019-02-04 13:07:45 +05:00
M1ha
a205b451a0 Chaned statsd key for inserted tuples 2019-02-04 12:52:21 +05:00
M1ha
056f2582d4 More optimization and fixed some bugs 2019-02-03 23:05:54 +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
29a251b892 Fix bug in version column if it is renamed 2019-01-30 10:03:38 +05:00
M1ha
7034f165ac Changed RedisLock blocking alogrythm, so it doesn't wait,
if sync takes a little more than sync period
2019-01-25 13:47:26 +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
13a226501f Fix need_sync period 2019-01-24 11:14:19 +05:00
M1ha
2d2ec9c055 Added debug logs for need_sync 2019-01-24 11:02:44 +05:00
M1ha
c2a1ecc688 Trying to understand invalid sync period 2019-01-24 10:53:54 +05:00