Commit Graph

219 Commits

Author SHA1 Message Date
Itai Shirav
e1ef96f05b Add a test for "with totals" 2017-04-04 14:41:23 +03:00
Itai Shirav
b27756d44b Merge branch 'with-totals-fix' of https://github.com/pilosus/infi.clickhouse_orm into pilosus-with-totals-fix 2017-04-04 12:47:18 +03:00
Itai Shirav
4ee174822a Merge branch 'nikepan-nikepan-develop' into develop 2017-04-04 12:41:43 +03:00
Itai Shirav
015a4512e7 Fix datetime tests 2017-04-04 12:41:18 +03:00
nikepan
b2a5482a65 blank datetime fix beauty 2017-03-27 17:07:10 +03:00
nikepan
e5222ffcb0 blank datetime fix improve 2017-03-27 17:03:13 +03:00
nikepan
9baa863d1f blank datetime better fix 2017-03-27 16:51:34 +03:00
nikepan
1460d4c85e blank datetime fix 2017-03-27 16:30:38 +03:00
Vitaly Samigullin
84681ec979 GROUP BY WITH TOTALS workaround to skip blank line separator making parsing 2017-03-12 16:49:54 +03:00
leenr
b4a1d14a12 Make ver_col in ReplacingMergeTree optional 2017-03-04 15:43:38 +03:00
leenr
1b8c4dbec1 Add support for ReplacingMergeTree (https://clickhouse.yandex/reference_en.html#ReplacingMergeTree) 2017-03-04 15:29:19 +03:00
Itai Shirav
9a81372fff Finished Release v0.8.0 2017-02-22 10:52:40 +02:00
Itai Shirav
6c3a82a2b4 Releasing v0.8.0 2017-02-22 10:52:03 +02:00
M1ha
a4004043fc Merge branch 'develop' of https://github.com/Infinidat/infi.clickhouse_orm into develop
# Conflicts:
#	src/infi/clickhouse_orm/models.py
#	tests/test_database.py
#	tests/test_system_models.py
2017-02-20 17:29:45 +05:00
Itai Shirav
f70d0697a7 Updated changelog 2017-02-19 09:30:19 +02:00
Itai Shirav
9afb6ff735 Merge branch 'emakarov-develop' into develop 2017-02-19 09:12:18 +02:00
Itai Shirav
1d573ded96 Merge branch 'develop' of https://github.com/emakarov/infi.clickhouse_orm into emakarov-develop
# Conflicts:
#	src/infi/clickhouse_orm/models.py
#	tests/test_database.py
2017-02-19 09:12:00 +02:00
Itai Shirav
58e322cc52 fix test 2017-02-19 09:04:32 +02:00
M1ha
6f975a801c 1) Added get_database method to Model
2) Added some assertions in tests for adding _database attribute in selects and inserts
3) database.insert() method sets _database
2017-02-19 09:04:32 +02:00
M1ha
adff766246 Edited docs (SystemPart) 2017-02-19 09:04:32 +02: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
64f6288fdb Moved code example to another section 2017-02-19 09:04:32 +02:00
M1ha
14f2ab78b5 Fixed:
1) Added partition working to readme
2) replaced insertable_only parameter with include_readonly
3) Added empty string alias and materialized field control
2017-02-19 09:04:32 +02:00
M1ha
27217102da Fixed bugs, connected to merge 2017-02-19 09:04:05 +02:00
M1ha
dddca2d3b5 Corrected links and code 2017-02-19 09:04:05 +02:00
M1ha
92adeb697f Corrected tables in docs 2017-02-19 09:02:56 +02:00
M1ha
948ab53e5e Corrected docs 2017-02-19 09:02:56 +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
58b7a9aeac 1) Added to_dict model method
2) Fixed bug in test_freeze cleaning, if backups don't contain all directory names (e. g. 1, 2, 3, 6, 7 - count=5, created_backup=8, not 6)
2017-02-19 09:01:33 +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
M1ha
dc14d523c1 1) Added get_database method to Model
2) Added some assertions in tests for adding _database attribute in selects and inserts
3) database.insert() method sets _database
2017-02-09 17:12:28 +05:00
M1ha
59ff18f09a Edited docs (SystemPart) 2017-02-09 16:52:19 +05:00
M1ha
ff04ab4db8 1) Removed database params for working with SystemPart operations
2) Added _database attribute to each model, got through select
2017-02-09 16:50:06 +05:00
M1ha
b6967901fa Moved code example to another section 2017-02-09 09:50:34 +05:00
emakarov
77b33c0ed4 test added. engine sql query fix to support special characters 2017-02-08 23:21:48 +03:00
Itai Shirav
dfd4d09e70 DateField.to_python() - handle timezone-aware datetime values correctly 2017-02-08 15:19:39 +02:00
M1ha
683e1acc6a Fixed:
1) Added partition working to readme
2) replaced insertable_only parameter with include_readonly
3) Added empty string alias and materialized field control
2017-02-08 15:29:24 +05:00
M1ha
80eddeb293 Fixed bugs, connected to merge 2017-02-08 11:37:50 +05:00
M1ha
463ac2b786 Merge branch 'develop' of https://github.com/Infinidat/infi.clickhouse_orm into develop
# Conflicts:
#	README.rst
#	src/infi/clickhouse_orm/models.py
2017-02-08 11:09:30 +05:00
M1ha
907cff9704 Corrected links and code 2017-02-08 11:05:19 +05:00
M1ha
5e63e813e0 Corrected tables in docs 2017-02-08 10:59:36 +05:00
M1ha
0ae76edc5e Corrected docs 2017-02-08 10:56:36 +05:00
M1ha
64435c77fa 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-08 10:40:14 +05:00
emakarov
86a3fec143 cleaner code for Buffer engine and Buffer Model class 2017-02-07 21:32:51 +03:00
emakarov
e2e02ab029 Conflict resolved 2017-02-07 21:19:23 +03:00
emakarov
8d23c18714 Merge pull request #2 from Infinidat/develop
Merge of main develop into forked develop
2017-02-07 21:15:20 +03:00
emakarov
e599b6b309 README extended 2017-02-07 20:56:13 +03:00
emakarov
427088d87f README extended 2017-02-07 20:54:39 +03:00
emakarov
d19787cb9f Fix for create_table_sql for Buffer table 2017-02-07 20:41:26 +03:00
emakarov
c9697de56c Buffer engine initial commit 2017-02-07 19:19:50 +03:00