Commit Graph

331 Commits

Author SHA1 Message Date
Itai Shirav
314090fa56 Merge branch 'raw_migrations' of https://github.com/carrotquest/infi.clickhouse_orm into carrotquest-raw_migrations 2017-10-30 15:09:23 +02:00
Itai Shirav
33a8cf4be4 Merge branch 'anci-develop' into develop 2017-10-30 15:07:58 +02:00
Itai Shirav
dcbf371077 Merge branch 'develop' of https://github.com/anci/infi.clickhouse_orm into anci-develop 2017-10-30 15:07:00 +02:00
Itai Shirav
48c08b869e Merge branch 'carrotquest-develop' into develop 2017-10-30 15:00:17 +02:00
Ivan Ladelshchikov
50e63fb1f8 show field name in error when invalid value assigned 2017-10-10 15:30:37 +04:00
M1ha
5ea20a11a9 Added tests and resolved https://github.com/Infinidat/infi.clickhouse_orm/issues/47 2017-10-10 12:24:17 +05:00
M1ha
b952f93e78 Merge branch 'develop' of https://github.com/Infinidat/infi.clickhouse_orm into migrate_materialized_fields 2017-10-10 11:24:35 +05:00
M1ha
911af41ec1 Fixed https://github.com/Infinidat/infi.clickhouse_orm/issues/56 issue 2017-10-04 17:53:23 +05:00
Ivan Ladelshchikov
a89fd63f4c enable skipped JOIN test 2017-10-03 13:26:08 +04:00
Ivan Ladelshchikov
38472012db allow ISO 8601 compliant values in DateTimeField 2017-10-03 13:26:00 +04:00
M1ha
51a814732b Merge branch 'develop' of https://github.com/Infinidat/infi.clickhouse_orm into raw_migrations
# Conflicts:
#	docs/schema_migrations.md
#	tests/sample_migrations/0010.py
#	tests/sample_migrations/0011.py
2017-10-02 15:49:59 +05:00
M1ha
b28e11c69d Added RunPython and RunSQL migration types 2017-09-20 10:08:07 +05:00
anci
322b4a0741 add field names list explicitly to Database.insert method 2017-09-18 21:50:40 +03:00
M1ha
0391482ec7 Fixed 2 bugs in Merge engine:
1) If database name contained some signes (+, -) create merge table failed.
2) When merge table was created and set_database was not previously called, "currentDatabase()" was also used, which could lead to errors on multiple databases.
2017-09-18 15:53:15 +05:00
Itai Shirav
444b8a6b39 Finished Release v0.9.7 2017-09-13 12:25:21 +03:00
Itai Shirav
77fe6704d8 Releasing v0.9.7 2017-09-13 12:24:51 +03:00
Itai Shirav
b54d75e8d8 Merge remote-tracking branch 'origin/develop' into develop 2017-09-13 12:18:58 +03:00
Itai Shirav
8304ddca5c Update docs 2017-09-13 12:17:26 +03:00
Itai Shirav
59564f8c70 Add distinct method to querysets 2017-09-13 12:15:48 +03:00
Itai Shirav
7bbcae574a Add AlterTableWithBuffer migration operation 2017-09-13 12:15:48 +03:00
M1ha
430872b958 Added readonly parameter to all Field subclasses 2017-09-11 10:17:23 +05:00
Itai Shirav
01f91de54b Add distinct method to querysets 2017-09-10 17:17:04 +03:00
Itai Shirav
841340acd4 Add AlterTableWithBuffer migration operation 2017-09-10 15:46:55 +03:00
M1ha
b7cf611595 Fixed error text 2017-09-08 09:15:30 +05:00
M1ha
de9f64cd3a Added Merge engine
1) Divided readonly and system flags of Field model. Readonly flag only restricts insert operations, while system flag restricts also create and drop table operations

2) Added Merge engine and tests for it
3) Added docs for Merge engine
4) Added opportunity to make Field readonly. This is useful for "virtual" columns (https://clickhouse.yandex/docs/en/single/index.html#virtual-columns)
2017-09-07 17:44:27 +05:00
M1ha
351e698971 Merge branch 'develop' of https://github.com/Infinidat/infi.clickhouse_orm into develop 2017-08-30 17:44:05 +05:00
Itai Shirav
4f2c4bae74 Finished Release v0.9.6 2017-08-23 08:15:18 +03:00
Itai Shirav
e3d0d69af8 Releasing v0.9.6 2017-08-23 08:15:03 +03:00
M1ha Shvn
0829936940 Merge branch 'develop' into develop 2017-08-22 13:33:01 +05:00
M1ha
508c959d2c Fixed bug with getting SystemPart info on actual ClickHouse version (1.1.54245) 2017-08-22 13:27:40 +05:00
Itai Shirav
bcd3c2ae45 Fix python3 compatibility (TvoroG) 2017-08-20 10:38:05 +03:00
Itai Shirav
6bea4cfc68 fix test_freeze 2017-08-20 10:38:05 +03:00
Itai Shirav
9891ccffaf test_freeze fails, possibly due to race condition 2017-08-20 10:38:05 +03:00
Marsel
88b1cea98c Fix TypeError in Py3 2017-08-20 10:37:11 +03:00
Marsel
c4e60ca2a8 Include unicode_literals 2017-08-20 10:37:11 +03:00
Marsel
70d34b097f Fix python3 compatibility 2017-08-20 10:37:11 +03:00
Itai Shirav
06ed53e4ec fix test_freeze 2017-08-20 09:46:00 +03:00
Itai Shirav
59a4f1cecc test_freeze fails, possibly due to race condition 2017-08-20 09:36:26 +03:00
Itai Shirav
67e0442645 - Nullable arrays not supported in latest ClickHouse version
- system.parts table no longer includes "replicated" column in latest ClickHouse version
2017-08-20 09:30:40 +03:00
Itai Shirav
8f8f1d2176 Update version of isolated python 2017-08-16 13:07:39 +03:00
Itai Shirav
e930e28540 Finished Release v0.9.5 2017-08-15 23:27:08 +03:00
Itai Shirav
3daba3429f Releasing v0.9.5 2017-08-15 23:26:21 +03:00
Itai Shirav
5db4f113ac Update example in README 2017-08-14 12:17:38 +03:00
Itai Shirav
639867bb32 - Added QuerySet.paginate()
- Support for basic aggregation in querysets
2017-08-14 12:14:52 +03:00
Itai Shirav
d8fc4b6177 Finished Release v0.9.4 2017-06-26 11:10:34 +03:00
Itai Shirav
a2acb9a025 Releasing v0.9.4 2017-06-26 11:10:18 +03:00
Itai Shirav
cb6c329d32 Migrations: when creating a table for a BufferModel, create the underlying table too if necessary 2017-06-26 11:09:57 +03:00
Itai Shirav
220616a151 Finished Release v0.9.3 2017-06-24 12:59:53 +03:00
Itai Shirav
33209542d6 Releasing v0.9.3 2017-06-24 12:59:35 +03:00
Itai Shirav
1966896850 Support queryset slicing 2017-06-24 12:28:42 +03:00