django-clickhouse-backend
django-clickhouse-backend copied to clipboard
Django clickhouse database backend.
hey, clickhouse lang has "prewhere" condition is there any way to set this condition using django-clickhouse-backend? and if there is no such method, is it possible to plan to add...
i want user this code but Window() func not working exclude_next = Q(value=F('next_value')) | Q(value=F('second_next_value')) exclude_prev = Q(value=F('prev_value')) | Q(value=F('second_prev_value')) queryset = ValueChart.objects.filter(signal=signal.id, date_time__range=( validated_data.get('date_time_before', None), validated_data.get('date_time_after', None)) ).annotate(next_value=Window( expression=Lead('value')),...
**Describe the bug** Observed a case where when the query string is long, Package is taking more time to render data. Also ran a profiler and checked that database is...
Is it possible to use the "Integration Engines" from https://clickhouse.com/docs/en/engines/table-engines ? For example: ``` ENGINE = PostgreSQL('host:port', 'database', 'table', 'user', 'password'[, `schema`]); ```
``` The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/app/./manage.py", line 22, in main() File "/app/./manage.py", line 18, in main execute_from_command_line(sys.argv)...
1. Make `ClickhouseManager` available in history model. 2. Make `settings` query method available in `ClickhouseManager`. 3. Make `ClickhouseManager` importable from `clickhouse_backend.models` (also change it's `deconstruct` method).
Looks like it's hardcoded to 'UTC'
**Description** This package raises a data type error for `JSONFeild`, although this type is supported and available in your sample model inside the README file. **Sample code** ``` # models.py...