Commit Graph

440 Commits

Author SHA1 Message Date
Itai Shirav
86f05a0c23 Python 3 compatibility 2018-06-10 16:17:35 +03:00
Itai Shirav
658d1da5ce Update docs 2018-06-10 14:30:40 +03:00
Itai Shirav
d7382e1ce2 fix field name parsing when field contains double underscore #69 2018-06-10 14:27:51 +03:00
Itai Shirav
3cd3e1ec83 Merge branch 'vv-p-add-timezone-breaker' into develop 2018-06-10 14:09:15 +03:00
Itai Shirav
e0b125f6a6 Merge branch 'add-timezone-breaker' of https://github.com/vv-p/infi.clickhouse_orm into vv-p-add-timezone-breaker 2018-06-10 14:08:20 +03:00
Itai Shirav
2bca8b4fb8 Improve creation time of model instances by keeping a dictionary of default values 2018-05-14 07:37:56 -04:00
Itai Shirav
ab0755ad90 - Rename Model.system to Model._system to prevent collision with a column that has the same name
- Rename `Model.readonly` to `Model._readonly` to prevent collision with a column that has the same name
- The `field_names` argument to `Model.to_tsv` is now mandatory
2018-05-14 07:09:57 -04:00
Itai Shirav
1bd3e63cd4 minor improvements in error handling and testing 2018-05-10 15:24:38 +03:00
Понаревский Владимир
c20846122f Fix after review 2018-05-08 17:24:27 +03:00
Понаревский Владимир
793726adb2 Fix after review 2018-05-08 16:41:50 +03:00
Понаревский Владимир
a5c93dc176 Add disabler for the timezone getting 2018-05-08 13:19:45 +03:00
Itai Shirav
2499a3f42a Update docs 2018-05-06 14:30:29 +03:00
M1ha
eb15dd65ec Added custom partitioning to all MergeTree family engines 2018-04-24 15:19:05 +05:00
Itai Shirav
e4f0c5b1dd Update docs 2018-04-22 09:03:31 +03:00
Itai Shirav
3976366913 Update docs 2018-04-21 15:29:29 +03:00
Itai Shirav
20e609f952 Update docs 2018-04-21 15:23:00 +03:00
Itai Shirav
338d686b4c Update docs 2018-04-21 13:53:06 +03:00
Itai Shirav
a416018b92 Merge branch 'carrotquest-issue-66' into develop 2018-04-21 13:51:01 +03:00
Itai Shirav
7cc5c50240 Merge branch 'issue-66' of https://github.com/carrotquest/infi.clickhouse_orm into carrotquest-issue-66 2018-04-21 13:50:09 +03:00
Itai Shirav
e791923493 Update docs 2018-04-21 13:48:00 +03:00
Itai Shirav
ae3011e88f Merge branch 'carrotquest-custom_partitioning' into develop 2018-04-21 13:28:57 +03:00
Itai Shirav
66eda2214c Make tests pass 2018-04-21 13:27:42 +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
Itai Shirav
6fa6786a9c Update docs 2018-04-21 12:10:30 +03:00
Itai Shirav
723bd03548 TRIVIAL fix test 2018-04-21 11:49:14 +03:00
Ivan Ladelshchikov
f0e0c8035a add instructions to test with tox 2018-04-21 11:49:14 +03:00
Ivan Ladelshchikov
d0aba55b0c tests: fix Distributed with bad cluster name for v1.1.54370 2018-04-21 11:49:14 +03:00
Ivan Ladelshchikov
6673841bf9 tests: fix readonly error messages for v1.1.54335+
the commit that made the changes
59aa1359c8
2018-04-21 11:49:14 +03:00
Ivan Ladelshchikov
99de0f6637 tests: fix sampling expression for v1.1.54310+
see https://github.com/yandex/ClickHouse/blob/master/CHANGELOG.md#clickhouse-release-1154310-2017-11-01

and the commit that made the change
75c65c7b59 (diff-fa7377955af063c4fa16e20f2595937bR120)
2018-04-21 11:49:14 +03:00
Ivan Ladelshchikov
a5f2fa4d76 add Distributed engine 2018-04-21 11:48:32 +03:00
Ivan Ladelshchikov
3268019216 _fields and _writable_fields are OrderedDicts 2018-04-21 11:48:32 +03:00
Ivan Ladelshchikov
57112f9de6 add ServerError exception 2018-04-21 11:48:32 +03:00
Ivan Ladelshchikov
92ab21c99a cross-version testing with tox 2018-04-21 11:48:32 +03:00
M1ha
0927136ffd 1) Added a test on https://github.com/Infinidat/infi.clickhouse_orm/issues/66
2) Fixed issue
2018-04-20 12:38:36 +05: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
Itai Shirav
c023ad407d use wheels 2018-04-07 18:13:02 +03:00
Itai Shirav
c7d3fa2c1e use wheels 2018-04-07 18:03:31 +03:00
Itai Shirav
cd8d82c226 Update docs 2018-04-07 15:20:33 +03:00
Itai Shirav
31ee58967f TRIVIAL fix test 2018-04-07 15:14:14 +03:00
Itai Shirav
51ba2d9d21 Merge branch 'desile-develop' into develop 2018-04-07 15:13:44 +03:00
desile
c98edc4f77 Added doc for between operator 2017-12-03 21:54:58 +03:00
desile
328b924bd2 Update docs for Q objects and new operator 2017-11-30 00:21:59 +03:00
desile
52d63cff60 Add tests demonstrating and checking usage of Q objects for filtration 2017-11-29 23:58:22 +03:00
pv.larkin
d553aaf9eb Add between operator 2017-11-29 14:52:52 +03:00
pv.larkin
0342dc863b Add OR and AND operations for Q objects 2017-11-29 14:27:54 +03:00
Itai Shirav
ca8586b213 Finished Release v0.9.8 2017-10-31 11:49:04 +02:00
Itai Shirav
0e4231a900 Releasing v0.9.8 2017-10-31 11:48:32 +02:00
Itai Shirav
0f9487f589 Added documentation about custom fields 2017-10-31 11:36:17 +02:00
Itai Shirav
b976899f75 Added documentation about custom fields 2017-10-31 10:11:29 +02:00
Itai Shirav
49a76b2ef4 Merge branch 'carrotquest-migrate_materialized_fields' into develop 2017-10-30 15:51:15 +02:00