Commit Graph

230 Commits

Author SHA1 Message Date
Itai Shirav
b2af10b11c Fix tests that fail on older ClickHouse versions 2020-05-29 12:23:20 +03:00
Itai Shirav
0c2d0f0ffd Fix tests that fail on older ClickHouse versions 2020-05-29 11:32:49 +03:00
Itai Shirav
3fb3936a8a Fix tests that fail on older ClickHouse versions 2020-05-29 01:59:07 +03:00
Itai Shirav
bde5c75eba Python 3.5 does not support f-strings 2020-05-29 01:36:53 +03:00
Itai Shirav
39eea8490f Get rid of some python warnings 2020-05-28 23:16:37 +03:00
Itai Shirav
f0bef7f75d Allow assignment of NO_VALUE to fields 2020-05-28 23:02:55 +03:00
Itai Shirav
113ac7ad4a docs 2020-05-28 19:38:41 +03:00
Itai Shirav
9697157d6b allow expressions in MergeTree params 2020-05-16 12:15:01 +03:00
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
bce87c40c1 Merge branch 'develop' of https://github.com/Romamo/infi.clickhouse_orm into Romamo-develop 2020-05-01 16:36:51 +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
127824c026 TRIVIAL add __repr__ to Field class 2020-05-01 16:28:15 +03:00
Itai Shirav
3c38c8ec40 Functions WIP 2020-04-19 07:17:52 +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
romamo
39a812b134
Fixed ignoring of negative enum values 2020-03-04 15:02:43 +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
93747f7758 Improve docs 2020-02-08 18:14:50 +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
bcc4c29d10 Drying get_sql methods
Some updates to Nullable documentation
2019-06-24 18:54:55 +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
7946a2a272 Update docs 2019-02-27 08:58:41 +02:00
Itai Shirav
191eac4424 Remove unused method 2019-02-27 08:56:04 +02: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