Itai Shirav
113ac7ad4a
docs
2020-05-28 19:38:41 +03:00
Itai Shirav
6dee101593
- improve imports
...
- documentation updates
2020-05-01 20:11:40 +03:00
Itai Shirav
7b3eb943e2
Functions WIP
2020-04-14 23:03:11 +03:00
Itai Shirav
93747f7758
Improve docs
2020-02-08 18:14:50 +02:00
Itai Shirav
ef30f1d1bd
Remove usage of six
2019-12-15 19:14:16 +02:00
Itai Shirav
da87a151df
Fix querysets using the SystemPart model
2019-06-13 08:38:06 +03:00
Itai Shirav
20e609f952
Update docs
2018-04-21 15:23:00 +03:00
Itai Shirav
b6229125a3
Merge branch 'custom_partitioning' of https://github.com/carrotquest/infi.clickhouse_orm into carrotquest-custom_partitioning
...
# Conflicts:
# src/infi/clickhouse_orm/engines.py
# src/infi/clickhouse_orm/models.py
# tests/test_database.py
# tests/test_engines.py
2018-04-21 13:04:19 +03:00
Ivan Ladelshchikov
3268019216
_fields and _writable_fields are OrderedDicts
2018-04-21 11:48:32 +03:00
M1ha
7fb0589692
1. Added support of custom partitioning ( https://clickhouse.yandex/docs/en/table_engines/custom_partitioning_key/ )
...
2. Added attribute server_version to Database class
3. Changed Engine.create_table_sql(), Engine.drop_table_sql(), Model.create_table_sql(), Model.drop_table_sql() parameter to db from db_name
2018-04-12 14:21:46 +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 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
Marsel
c4e60ca2a8
Include unicode_literals
2017-08-20 10:37:11 +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
639867bb32
- Added QuerySet.paginate()
...
- Support for basic aggregation in querysets
2017-08-14 12:14:52 +03:00
Ivan Ladelshchikov
fcb8196d3d
fix unicode params for Py2
2017-06-06 20:16:56 +05:00
M1ha
f3e75cfae3
1) Removed database params for working with SystemPart operations
...
2) Added _database attribute to each model, got through select
2017-02-19 09:04:32 +02:00
M1ha
5f2195f87f
1) Replaced is_insertable() field mehtod with readonly property (unification with model and tables)
...
2) Method SystemPart.all() was replaced with get()
3) Added conditions parameter to SystemPart.get() and SystemPart.get_active() methods.
2017-02-19 09:02:56 +02:00
M1ha
db61efd4cc
1) Added readonly models
...
2) Added SystemPart models in order to execute partition operations
2017-02-19 09:01:33 +02:00