532 Commits
Author SHA1 Message Date
z 688fdc2ef5 docs(brand): add hero banner 2026-06-28 20:23:43 -07:00
z 2c7a5eb06c chore(brand): dynamic hero banner 2026-06-28 20:23:42 -07:00
Antje WorringandClaude Opus 4.8 b5c4f90781 docs: tidy LLM.md indexes; CLAUDE.md -> LLM.md symlink convention
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 09:50:06 -07:00
Hanzo DevandGitHub 47efeea70f Merge branch 'PostHog:develop' into develop 2026-06-03 13:04:10 -07:00
Antje WorringandClaude Opus 4.8 b468a88070 Add Claude Code project docs (CLAUDE.md, LLM.md)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-31 21:37:53 -07:00
Tom PiccirelloandGitHub 4e3996becf Merge pull request #13 from PostHog/tom/proxy
Support disabling network proxy
2026-03-13 15:15:21 -07:00
Thomas Piccirello aeb02c58d4 Support disabling network proxy
This library uses `requests`, which respects proxy environment variables by default (e.g. `HTTP_PROXY`). We need the ability to disable the proxy because our Clickhouse clusters are located on our intranet.
2026-03-13 15:08:35 -07:00
Michael MatlokaandGitHub 9578c79f29 Merge pull request #11 from PostHog/randomize-paths-setting
Add `randomize_replica_paths` setting
2024-03-01 19:59:30 +01:00
Michael Matloka 8433e48097 Add randomize_replica_paths setting 2024-03-01 12:58:46 +01:00
Michael MatlokaandGitHub 37722f350f Merge pull request #10 from PostHog/macobo-patch-1
Bump package version
2022-05-25 11:09:50 +02:00
Karl-Aksel PuulmannandGitHub bea5030ece Bump package version
Even when checkouting from git, pip uses the package version to do cache-busting to some extent. I haven't received the latest version, this should fix it.
2022-05-25 11:46:04 +03:00
James GreenhillandGitHub de88ffaecd Merge pull request #9 from PostHog/fix-replicated-migration-table
Base `MigrationHistoryReplicated` path on database and table names
2022-05-18 09:15:57 -07:00
Michael Matloka 4ce9e795c8 Base MigrationHistoryReplicated path on database and table names 2022-05-18 17:09:28 +02:00
Karl-Aksel Puulmann bbc5638f1d Remove uuid macro unavailable on clickhouse-operator 2022-03-25 09:21:34 +02:00
Karl-Aksel Puulmann 68196ca74e Lazily create tables 2022-03-21 12:31:47 +02:00
Karl-Aksel Puulmann 9854bacfe9 Bump version 2022-03-16 10:26:05 +02:00
Karl-Aksel Puulmann 60cb09324c Add a distributed engine table to back migrations
This will work with clickhouse-operator
2022-03-16 10:26:05 +02:00
Karl-Aksel Puulmann e0c77a646a Add cluster argument to database, create tables on cluster 2022-03-16 10:26:05 +02:00
Karl-Aksel Puulmann 8275653c67 uuid into replica table paths 2022-03-16 10:26:05 +02:00
Karl-Aksel Puulmann 31ba768e27 Support altinity cloud
SELECT version() currently returns `21.8.13.1.altinitystable` on our
demo environment which blows up.

This PR makes it so we strip out the version.
2022-03-16 10:26:05 +02:00
James Greenhill f6f4838a75 use infi_clickhouse_orm_migrations table name regardless of replication 2021-07-19 20:35:07 -07:00
Karl-Aksel PuulmannandGitHub d531afe765 Merge pull request #5 from PostHog/fix-migrations-by-not-replicating
Separate way to migrate without replication
2021-07-16 15:34:24 +03:00
Karl-Aksel Puulmann 369320b390 Separate way to migrate without replication
Will be used locally/in tests
2021-07-16 14:51:00 +03:00
Karl-Aksel PuulmannandGitHub 4688676eaa Merge pull request #3 from PostHog/revert-2-fix-migration-create-table
Revert "Ignore replica errors when applying migrations"
2021-07-16 12:53:25 +03:00
Karl-Aksel PuulmannandGitHub 690dc76d53 Revert "Ignore replica errors when applying migrations" 2021-07-16 12:53:15 +03:00
Karl-Aksel PuulmannandGitHub bc066e37a7 Merge pull request #2 from PostHog/fix-migration-create-table
Ignore replica errors when applying migrations
2021-07-16 12:30:25 +03:00
Karl-Aksel Puulmann 080d43fd8d Update version 2021-07-16 11:35:59 +03:00
Karl-Aksel Puulmann 81cf8d6cde Ignore replica errors when applying migrations
CREATE TABLE IF NOT EXISTS still raises errors if replicas exist, like
following:

```
E           infi.clickhouse_orm.database.ServerError: Replica /clickhouse/prod/tables/noshard/posthog.infi_clickhouse_orm_migrations/replicas/ch1-01 already exists (version 21.7.3.14 (official build)) (253)
```

This ignores these errors.
2021-07-16 11:15:20 +03:00
James Greenhill 6333996d93 include setup.py for now (autogenerated) 2021-07-14 15:05:56 -07:00
James GreenhillandGitHub ef7dd1557c Merge pull request #1 from PostHog/replicate_migration_table
Use replicated table for migration state
2021-07-14 14:45:29 -07:00
James Greenhill 9bd77ae875 black and isort 2021-07-14 14:42:57 -07:00
James Greenhill 8c028b4487 Use replicated table for migration state 2021-07-14 14:36:35 -07:00
Alexander GoldbergandGitHub 7c90c1e4c3 Merge pull request #161 from emakarov/case_sensitive_strenums
Uppercase and lowercase string enums behaviour updated
2020-12-14 15:56:58 +02:00
Evgeni (Gene) Makarov a8ab206849 changes reverted after rebase 2020-12-14 14:39:36 +03:00
Evgeni (Gene) Makarov 97f776792f initializing changes related to string enums for pull request 2020-12-14 14:36:21 +03:00
Alexander GoldbergandGitHub 779f4146e3 Merge pull request #160 from Infinidat/revert-157-case_sensitive_strenums
Revert "Uppercase and lowercase string enums behaviour updated."
2020-12-07 19:06:16 +02:00
Alexander GoldbergandGitHub ca57a223ca Revert "Uppercase and lowercase string enums behaviour updated." 2020-12-07 19:05:49 +02:00
Alexander GoldbergandGitHub 10a8a3c706 Merge pull request #157 from emakarov/case_sensitive_strenums
Uppercase and lowercase string enums behaviour updated.
2020-12-07 19:02:23 +02:00
Evgeni (Gene) Makarov 8ccf87ad04 fix for bytes 2020-10-30 17:12:25 +03:00
Evgeni (Gene) Makarov c4ab81ebe1 Uppercase and lowercase string enums behaviour updated. 2020-10-26 19:46:43 +03:00
Itai Shirav ebdadb3aee Finished Release v2.1.0 v2.1.0 2020-07-16 07:22:18 +03:00
Itai Shirav db194d733f Releasing v2.1.0 2020-07-16 07:21:35 +03:00
Itai Shirav 97773d6dc7 Added usage examples 2020-07-15 23:42:40 +03:00
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 c0bdbb7664 Added usage examples 2020-07-14 21:57:24 +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 40a1e21348 Added usage examples 2020-06-26 17:53:39 +03:00
Itai Shirav 633c7ee1e9 Refactor get_sql in enum fields 2020-06-23 11:43:37 +03:00