Commit Graph

210 Commits

Author SHA1 Message Date
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
M1ha
430872b958 Added readonly parameter to all Field subclasses 2017-09-11 10:17:23 +05: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
Itai Shirav
53e67fb59f Update docs for nullable fields 2017-06-23 11:56:05 +03:00
Itai Shirav
2c0ef08ee1 Minor refactoring of extra_null_values 2017-06-23 11:10:49 +03:00
Itai Shirav
7d3b3129c5 Merge branch 'yamiou-yamiou-develop' into develop 2017-06-23 11:06:43 +03:00
Itai Shirav
5b86a66fb2 Merge branch 'yamiou-develop' of https://github.com/yamiou/infi.clickhouse_orm into yamiou-yamiou-develop 2017-06-23 11:03:30 +03:00
Arnon Yaari
e7b31018eb HOSTDEV-2736 change license and add license file 2017-06-18 12:35:33 +03:00
Dzianis Sivets
3a56041da6 documentation for NullableField 2017-06-16 20:38:01 +03:00
Dzianis Sivets
9b7e7a179e NullableField of ArrayField 2017-06-16 20:38:01 +03:00
Dzianis Sivets
1b0ea035b8 Nullable fields support 2017-06-16 20:37:37 +03:00
Itai Shirav
d4baf89de5 Finished Release v0.9.2 2017-06-15 14:50:02 +03:00
Itai Shirav
b72772f1b9 Oops, need to rename 0.9.1 to 0.9.2 2017-06-15 14:49:43 +03:00
Itai Shirav
f2ac744bc7 Releasing v0.9.1 2017-06-15 14:48:39 +03:00
Itai Shirav
72becd75be Finished Release v0.9.1 2017-06-15 14:48:15 +03:00
Itai Shirav
d02d6b14eb - Added ne and not_in queryset operators
- Querysets no longer have a default order when `order_by` is not called
- Added `autocreate` flag to database initializer
- Fix for SELECT FROM JOIN (#37)
2017-06-15 12:19:17 +03:00
Itai Shirav
30902d0fe0 Merge branch 'tsionyx-develop' into develop 2017-06-07 10:48:33 +03:00
Ivan Ladelshchikov
fcb8196d3d fix unicode params for Py2 2017-06-06 20:16:56 +05:00
Marsel
c388f543d2 ipython<6: closes #32 2017-05-15 13:11:20 +03:00
Itai Shirav
e6dba1f89f TRIVIAL 2017-05-15 08:35:29 +03:00
Itai Shirav
7ebf72705e Merge branch 'TvoroG-develop' into develop 2017-05-15 08:29:57 +03:00
Marsel
1ff82a57e1 Fix "NameError: name 'unicode' is not defined" in python3 2017-05-14 23:11:58 +03:00
Itai Shirav
1ff2fe512b Finished Release v0.9.0 2017-05-11 05:47:16 +03:00
Itai Shirav
ac8a843eee Releasing v0.9.0 2017-05-11 05:46:42 +03:00