Commit Graph

170 Commits

Author SHA1 Message Date
Itai Shirav
00bf7eeb75 count() and paginate() - accept conditions as expressions and Q objects 2020-05-16 09:24:31 +03:00
Itai Shirav
6dee101593 - improve imports
- documentation updates
2020-05-01 20:11:40 +03:00
Itai Shirav
677e08f723 Merge branch 'develop' into funcs
# Conflicts:
#	src/infi/clickhouse_orm/engines.py
#	src/infi/clickhouse_orm/fields.py
2020-05-01 17:27:54 +03:00
Itai Shirav
d1ba26af20 TRIVIAL test negative enum values 2020-05-01 16:44:20 +03:00
Itai Shirav
669a40dd5e Merge branch 'primary-key-issue-114' of https://github.com/carrotquest/infi.clickhouse_orm into carrotquest-primary-key-issue-114 2020-05-01 16:31:43 +03:00
Itai Shirav
3c38c8ec40 Functions WIP 2020-04-19 07:17:52 +03:00
Itai Shirav
2e586fa61c Merge branch 'develop' into funcs
# Conflicts:
#	tests/test_database.py
2020-04-14 23:04:14 +03:00
Itai Shirav
7b3eb943e2 Functions WIP 2020-04-14 23:03:11 +03:00
Itai Shirav
19439e45ef Functions WIP 2020-04-14 06:24:37 +03:00
Itai Shirav
db3dc70ebf Functions WIP 2020-04-12 20:51:22 +03:00
Itai Shirav
27eac13767 Fix tests for ClickHouse v20.3 2020-03-16 10:41:03 +02:00
Itai Shirav
54c67f2777 Fix tests for ClickHouse v20.3 2020-03-16 10:24:02 +02:00
Itai Shirav
9f36b17fee - move NO_VALUE to utils
- dynamic generation of func variants (...OrZero, ...OrNull)
2020-02-16 19:35:18 +02:00
Itai Shirav
25c4a6710e - funcs support in limit_by
- aggregate functions wip
2020-02-09 19:20:56 +02:00
Itai Shirav
4ffc27100d Support for function-based DEFAULT values, not only literals #36 2020-02-08 12:12:42 +02:00
Itai Shirav
ffeed4a6a4 Support for function-based DEFAULT values, not only literals #36 2020-02-08 12:05:48 +02:00
Itai Shirav
0a94ac98a3 Minor fixes 2020-02-07 15:30:15 +02:00
Itai Shirav
c23947c28f Merge branch 'develop' into funcs 2020-02-07 15:12:12 +02:00
Itai Shirav
acccfbcaad Support for using LIMIT N BY feature (simplify, additional testing, documentation) 2020-02-07 13:36:55 +02:00
utapyngo
6d7b6250c5 Support for using LIMIT N BY feature
See https://clickhouse.yandex/docs/en/query_language/select/#limit-by-clause
2020-01-20 19:53:38 +07:00
Itai Shirav
ef30f1d1bd Remove usage of six 2019-12-15 19:14:16 +02:00
Itai Shirav
4848c7f813 Support LowCardinality columns in ad-hoc queries 2019-12-12 22:09:35 +02:00
Itai Shirav
39f34b7c85 Functions WIP 2019-10-27 20:20:26 +02:00
Itai Shirav
969070f1ae - Drop py2.7 support
- Add ipv4/6 fields and funcs
- Support funcs as alias/materialized expressions
2019-10-27 19:47:59 +02:00
M1ha
1b37c38bbf Added primary_key parameter 2019-07-15 13:01:45 +05:00
Itai Shirav
cc0f2c4e91 Functions WIP 2019-07-13 23:01:37 +03:00
Itai Shirav
8a21e02862 Functions WIP 2019-07-13 22:54:16 +03:00
Itai Shirav
342f06e7b0 Merge branch 'develop' into funcs
# Conflicts:
#	src/infi/clickhouse_orm/query.py
#	tests/test_decimal_fields.py
#	tests/test_querysets.py
2019-07-13 11:51:10 +03:00
Itai Shirav
88510aaa42 Merge branch 'funcs' of git.infinidat.com:host-opensource/infi.clickhouse_orm into funcs
# Conflicts:
#	src/infi/clickhouse_orm/fields.py
#	src/infi/clickhouse_orm/query.py
#	tests/test_querysets.py
2019-07-13 10:58:09 +03:00
Roy Belio
3ba44608f3 RAMEN-206 Support LowCardinality in infi.clickhouse_orm 2019-06-24 14:20:18 +03:00
Roy Belio
2d3441b127 RAMEN-208 Support codec compression for clickhouse 2019-06-24 12:31:19 +03:00
Roy Belio
1889ac6372 Minor bug fixes
field creation won't allow empty string materialized field.
repliaca_name check is none
fix enum usage
typos fix
2019-06-23 11:53:58 +03:00
Roy Belio
4d2ebd65fb RAMEN-208 Support codec compression for clickhouse 2019-06-23 11:53:20 +03:00
Itai Shirav
840b29499a UUIDField compatibility with Python 3 2019-06-13 08:58:39 +03:00
Itai Shirav
da87a151df Fix querysets using the SystemPart model 2019-06-13 08:38:06 +03:00
Itai Shirav
9dd1a8f409 - Add log_statements parameter to database initializer
- Fix test_merge which fails on ClickHouse v19.8.3
2019-06-13 08:12:56 +03:00
Itai Shirav
7a2c8515a2 Update docs 2019-06-13 05:19:16 +03:00
Itai Shirav
4561159218 Merge branch 'develop' of https://github.com/kpotehin/infi.clickhouse_orm into kpotehin-develop 2019-06-13 05:08:59 +03:00
Itai Shirav
cadba6f6aa Support default/alias/materialized for nullable fields 2019-06-13 05:07:56 +03:00
Itai Shirav
a765b5fe5f Format of database error messages changed, update failing tests 2019-05-12 10:27:10 +03:00
Itai Shirav
7ed62ffd2c Merge branch 'qs-with-totals' of https://github.com/carrotquest/infi.clickhouse_orm into carrotquest-qs-with-totals 2019-02-27 08:45:22 +02:00
Itai Shirav
64920a96c7 Merge branch 'qs-prewhere' of https://github.com/carrotquest/infi.clickhouse_orm into carrotquest-qs-prewhere 2019-02-27 07:41:17 +02:00
Itai Shirav
3bbf06a70a TRIVIAL assertEquals ==> assertEqual 2019-02-26 23:24:45 +02:00
Itai Shirav
81e942a4d2 Fix pagination when asking for the last page on a query that matches no records 2019-02-26 22:58:59 +02:00
Itai Shirav
bec45b53fa Fix parsing of server errors in ClickHouse v19.3.3+ 2019-02-26 22:46:00 +02:00
Itai Shirav
efe270b502 Migrations - cannot add a new materialized field after a regular field 2019-01-28 10:08:07 +02:00
Itai Shirav
7aef68ab14 TRIVIAL fix test that fails on whitespace diff 2019-01-28 10:06:13 +02:00
Itai Shirav
f96bd22c38 Functions WIP 2019-01-28 09:51:53 +02:00
Kirill Potekhin
e7542dadbd custom UUIDField deleted from tests and docs 2018-12-20 01:41:42 +03:00
Kirill Potekhin
ed62cf5da7 tests for UUIDField 2018-12-20 01:36:46 +03:00