Commit Graph

200 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
7acfc411d8 Remove __future__ 2020-07-14 22:01:32 +03:00
Itai Shirav
bc900c2ef1 Skip mutations test on old ClickHouse versions 2020-06-27 00:26:21 +03:00
Itai Shirav
436c296609 Support for mutations: QuerySet.update and QuerySet.delete 2020-06-27 00:02:11 +03:00
Itai Shirav
f35333a7b6 Support FINAL for ReplacingMergeTree 2020-06-23 11:37:41 +03:00
Itai Shirav
8fea844d70 DateTime64 field - additional fixes & docs 2020-06-23 11:32:43 +03:00
Itai Shirav
f98dead1ab DateTime64 field - additional fixes & docs 2020-06-23 11:26:20 +03:00
Itai Shirav
7fe76c185d DateTime64 field - additional fixes & docs 2020-06-23 11:04:42 +03:00
Niyaz Batyrshin
2a38c5200c test DateTime64 timezones 2020-06-12 11:50:53 +03: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
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
aaa1038a70 Support for data skipping indexes 2020-06-06 21:21:18 +03:00
Itai Shirav
4be1b0437f Support for data skipping indexes 2020-06-06 21:06:29 +03:00
Itai Shirav
635197de38 Support for data skipping indexes 2020-06-06 20:56:32 +03:00
Itai Shirav
22cd908a49 Support for model constraints 2020-06-06 11:37:25 +03:00
Itai Shirav
ffd9bab0ef Support for model constraints 2020-06-06 11:07:25 +03:00
Itai Shirav
3ec54e510c Fix tests that fail on older ClickHouse versions 2020-05-29 12:53:14 +03:00
Itai Shirav
0c2d0f0ffd Fix tests that fail on older ClickHouse versions 2020-05-29 11:32:49 +03:00
Itai Shirav
5d97b4c84a Fix tests that fail on older ClickHouse versions 2020-05-29 11:08:30 +03:00
Itai Shirav
3fb3936a8a Fix tests that fail on older ClickHouse versions 2020-05-29 01:59:07 +03:00
Itai Shirav
efebfc67ed Ignore functions that don't exist in the used ClickHouse version 2020-05-29 01:37:13 +03:00
Itai Shirav
a8c88a499a Skip some tests when the server isn't in UTC timezone 2020-05-29 00:12:00 +03:00
Itai Shirav
33ad54d6de Skip some tests when the server isn't in UTC timezone 2020-05-29 00:05:28 +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
6702cffe72 TRIVIAL add test 2020-05-28 19:38:51 +03:00
Itai Shirav
e97e48a695 Fix test in for latest clickhouse version 2020-05-28 18:17:52 +03:00
Itai Shirav
f084b6e95f docs 2020-05-28 18:07:45 +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
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