Commit Graph

473 Commits

Author SHA1 Message Date
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
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