django-clickhouse-backend icon indicating copy to clipboard operation
django-clickhouse-backend copied to clipboard

Django clickhouse database backend.

Results 28 django-clickhouse-backend issues
Sort by recently updated
recently updated
newest added

in test case you need allow exactly which db this test case can use ``` class TestEvent(TestCase): databases = ['default', 'clickhouse'] def test_spam(self): assert Event.objects.count() == 0 ```

From readme example for Event model ``` content = models.JSONField(default=dict) ``` when applying ``python manage.py migrate --database clickhouse`` - you get error ``` django.db.utils.OperationalError: Code: 44. DB::Exception: Cannot create column...

Following https://github.com/jayvynl/django-clickhouse-backend/discussions/131, I'm going to work on a PR to add support for https://github.com/ClickHouse/clickhouse-connect I'm going to work on a PR which *add* clickhouse-connect, so both clickhouse-connect and clickhouse-driver. The...

Please, update clickhouse-driver to version 0.2.10 for fully support py313 or higher

Hi all, just quickly hacked in support for SAMPLE BY support when creating models and added a missing datetime function. I also implemented support for the [SAMPLE clause](https://clickhouse.com/docs/sql-reference/statements/select/sample). This adds...

- format is not uppercase - missing QUERY TREE type

**Describe the bug** I have encountered an issue with [Django 5.2's db_default model field](https://docs.djangoproject.com/en/5.2/ref/models/fields/#db-default) when using bulk_create() with the django-clickhouse-backend package. I am attempting to create a table with an...

bug

**Describe the bug** cannot migrate **To Reproduce** git clone https://github.com/ramwin/schoolproject.git cd schoolproject \# install clickhouse_backend ``` # in schoolproject/database_settings.py add "clickhouse": { "ENGINE": "clickhouse_backend.backend", "PASSWORD": "wangxiang", } # in schoolproject/settings.py...

bug