Commit Graph

247 Commits

Author SHA1 Message Date
Itai Shirav
80b220c1e3 Added functions for working with external dictionaries 2020-07-14 22:01:50 +03:00
Itai Shirav
436c296609 Support for mutations: QuerySet.update and QuerySet.delete 2020-06-27 00:02:11 +03:00
Itai Shirav
633c7ee1e9 Refactor get_sql in enum fields 2020-06-23 11:43:37 +03:00
Itai Shirav
f35333a7b6 Support FINAL for ReplacingMergeTree 2020-06-23 11:37:41 +03:00
Itai Shirav
c5a083e2bc Merge branch 'master' of https://github.com/ProjektA/infi.clickhouse_orm into ProjektA-master 2020-06-23 11:33:16 +03:00
Itai Shirav
c45bd07cea Remove type hints - not supported in Python 3.5 2020-06-23 11:26:43 +03:00
Itai Shirav
7fe76c185d DateTime64 field - additional fixes & docs 2020-06-23 11:04:42 +03:00
Christian Pedersen
45552fdb97 Support FINAL for ReplacingMergeTree 2020-06-23 09:35:13 +02:00
Niyaz Batyrshin
f30cb87e60 * timezone support moved to base DateTimeField class, timezone accepts string value or pytz.timezone
* test timezones and DateTime64 precision
2020-06-12 11:29:47 +03:00
Niyaz Batyrshin
bbab55e6d6 Merge remote-tracking branch 'origin/develop' into feature/DateTime64
# Conflicts:
#	src/infi/clickhouse_orm/models.py
2020-06-07 13:24:00 +03:00
Niyaz Batyrshin
62ad18d8ff removes error reraising 2020-06-07 13:14:18 +03:00
Niyaz Batyrshin
ed51ad5be6 DateTime64 field
closes #145
2020-06-07 12:50:45 +03:00
Itai Shirav
667cde1685 Support for data skipping indexes 2020-06-06 21:34:09 +03:00
Itai Shirav
635197de38 Support for data skipping indexes 2020-06-06 20:56:32 +03:00
Itai Shirav
ffd9bab0ef Support for model constraints 2020-06-06 11:07:25 +03:00
Itai Shirav
393209e624 Support for model constraints 2020-06-06 11:07:01 +03:00
Itai Shirav
afd9bb5a09 Remove unnecessary import of six 2020-05-30 15:30:17 +03:00
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