201 Commits
Author SHA1 Message Date
zeekay dda3979851 rename: the ORM is ours — datastore_orm, not infi.clickhouse_orm
This is our fork, so it should read like it. `import datastore_orm` instead of
`from infi.clickhouse_orm import ...`: `infi` was the original vendor's org
namespace, and carrying someone else's org name through every import in the
consuming codebase is not a fork, it is a vendored copy that never got renamed.

The `infi` namespace package is gone entirely (src/infi/__init__.py with it),
the distribution is `datastore-orm`, and the metadata points at Hanzo rather
than at the upstream repo and author.

NOT renamed, deliberately: the migration history tables are still
`infi_clickhouse_orm_migrations`. That name is persisted state — 448 rows in
production key off it — so changing it is a data migration, not a rename. Doing
it carelessly reproduces the exact failure this fork just hit, where a package
rename orphaned the history and silently blocked every migration.
2026-07-26 08:44:11 -07:00
Itai Shirav 5a966cb556 Added functions for working with external dictionaries 2020-07-14 22:01:50 +03:00
Itai Shirav 26c605ed14 Remove __future__ 2020-07-14 22:01:32 +03:00
Itai Shirav 76ce1de71e Skip mutations test on old ClickHouse versions 2020-06-27 00:26:21 +03:00
Itai Shirav 9df6f0d518 Support for mutations: QuerySet.update and QuerySet.delete 2020-06-27 00:02:11 +03:00
Itai Shirav 5069b48b6d Support FINAL for ReplacingMergeTree 2020-06-23 11:37:41 +03:00
Itai Shirav 1afee0a9d9 DateTime64 field - additional fixes & docs 2020-06-23 11:32:43 +03:00
Itai Shirav 536c153ea5 DateTime64 field - additional fixes & docs 2020-06-23 11:26:20 +03:00
Itai Shirav 008a84f119 DateTime64 field - additional fixes & docs 2020-06-23 11:04:42 +03:00
Niyaz Batyrshin 2b76cecac1 test DateTime64 timezones 2020-06-12 11:50:53 +03:00
Niyaz Batyrshin 99988e880a * 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 2518fa3d61 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 22ac036837 DateTime64 field
closes #145
2020-06-07 12:50:45 +03:00
Itai Shirav 70ee777db7 Support for data skipping indexes 2020-06-06 21:34:09 +03:00
Itai Shirav a0ff67a60d Support for data skipping indexes 2020-06-06 21:21:18 +03:00
Itai Shirav e555645520 Support for data skipping indexes 2020-06-06 21:06:29 +03:00
Itai Shirav 86d14d8a2d Support for data skipping indexes 2020-06-06 20:56:32 +03:00
Itai Shirav 5cb60e3b4d Support for model constraints 2020-06-06 11:37:25 +03:00
Itai Shirav adaadeef20 Support for model constraints 2020-06-06 11:07:25 +03:00
Itai Shirav fa7e0cfdc4 Fix tests that fail on older ClickHouse versions 2020-05-29 12:53:14 +03:00
Itai Shirav a950fe5ae4 Fix tests that fail on older ClickHouse versions 2020-05-29 11:32:49 +03:00
Itai Shirav b9ef7d8a32 Fix tests that fail on older ClickHouse versions 2020-05-29 11:08:30 +03:00
Itai Shirav 6996411e4e Fix tests that fail on older ClickHouse versions 2020-05-29 01:59:07 +03:00
Itai Shirav 28f712fc4d Ignore functions that don't exist in the used ClickHouse version 2020-05-29 01:37:13 +03:00
Itai Shirav 709f26c7e5 Skip some tests when the server isn't in UTC timezone 2020-05-29 00:12:00 +03:00
Itai Shirav c0ccf74c01 Skip some tests when the server isn't in UTC timezone 2020-05-29 00:05:28 +03:00
Itai Shirav 0a912ee363 Get rid of some python warnings 2020-05-28 23:16:37 +03:00
Itai Shirav 272acce2c0 Allow assignment of NO_VALUE to fields 2020-05-28 23:02:55 +03:00
Itai Shirav c387a1c518 TRIVIAL add test 2020-05-28 19:38:51 +03:00
Itai Shirav ef9243e358 Fix test in for latest clickhouse version 2020-05-28 18:17:52 +03:00
Itai Shirav c0940059cc docs 2020-05-28 18:07:45 +03:00
Itai Shirav f8b9187a64 count() and paginate() - accept conditions as expressions and Q objects 2020-05-16 09:24:31 +03:00
Itai Shirav e619717801 - improve imports
- documentation updates
2020-05-01 20:11:40 +03:00
Itai Shirav a02e9373af 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 6d604e0e08 TRIVIAL test negative enum values 2020-05-01 16:44:20 +03:00
Itai Shirav 73667f5136 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 1a6db35b6b Functions WIP 2020-04-19 07:17:52 +03:00
Itai Shirav 7028c83a46 Merge branch 'develop' into funcs
# Conflicts:
#	tests/test_database.py
2020-04-14 23:04:14 +03:00
Itai Shirav 5857a39890 Functions WIP 2020-04-14 23:03:11 +03:00
Itai Shirav 0cb1deb9f7 Functions WIP 2020-04-14 06:24:37 +03:00
Itai Shirav c58d7a73bd Functions WIP 2020-04-12 20:51:22 +03:00
Itai Shirav a6e938fad3 Fix tests for ClickHouse v20.3 2020-03-16 10:41:03 +02:00
Itai Shirav 715d9d649b Fix tests for ClickHouse v20.3 2020-03-16 10:24:02 +02:00
Itai Shirav e0c4c40d3e - move NO_VALUE to utils
- dynamic generation of func variants (...OrZero, ...OrNull)
2020-02-16 19:35:18 +02:00
Itai Shirav 980cfc006d - funcs support in limit_by
- aggregate functions wip
2020-02-09 19:20:56 +02:00
Itai Shirav 5d84163562 Support for function-based DEFAULT values, not only literals #36 2020-02-08 12:12:42 +02:00
Itai Shirav 8157038d46 Support for function-based DEFAULT values, not only literals #36 2020-02-08 12:05:48 +02:00
Itai Shirav ab64e89150 Minor fixes 2020-02-07 15:30:15 +02:00
Itai Shirav 9743b4a386 Merge branch 'develop' into funcs 2020-02-07 15:12:12 +02:00
Itai Shirav b14c727c1c Support for using LIMIT N BY feature (simplify, additional testing, documentation) 2020-02-07 13:36:55 +02:00