From 12e8ef824d8d2e728f5d120cdc825ed62950e2b4 Mon Sep 17 00:00:00 2001 From: jmonterrubio Date: Fri, 26 Jan 2024 13:18:53 +0100 Subject: [PATCH] #67 Fix log tables partitioning --- CHANGELOG.md | 6 ++++++ templates/config.xml.j2 | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f106cbb..d970a4a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a ch ## [Unreleased](https://github.com/idealista/clickhouse_role/tree/develop) +## [3.4.1(https://github.com/idealista/clickhouse_role/tree/3.4.1 (2024-01-26) + +### :hammer_and_wrench: Fixed + +- [#67](https://github.com/idealista/clickhouse_role/issues/67) Fix log tables partitioning + ## [3.4.0(https://github.com/idealista/clickhouse_role/tree/3.4.0 (2023-11-17) ### :heavy_plus_sign: Added diff --git a/templates/config.xml.j2 b/templates/config.xml.j2 index cc55619..db16e98 100644 --- a/templates/config.xml.j2 +++ b/templates/config.xml.j2 @@ -1052,7 +1052,7 @@ {{ clickhouse_tables_log.thread_log.database }} {{ clickhouse_tables_log.thread_log.table }}
- {{ clickhouse_tables_log.thread_log.partition_by }}(event_date) + {{ clickhouse_tables_log.thread_log.partition_by }} {{ clickhouse_tables_log.thread_log.flush_interval_milliseconds }} {% if clickhouse_tables_log.thread_log.ttl is defined %} {{ clickhouse_tables_log.thread_log.ttl }} @@ -1076,7 +1076,7 @@ {{ clickhouse_tables_log.part_log.database }} {{ clickhouse_tables_log.part_log.table }}
- {{ clickhouse_tables_log.part_log.partition_by }}(event_date) + {{ clickhouse_tables_log.part_log.partition_by }} {{ clickhouse_tables_log.part_log.flush_interval_milliseconds }} {% if clickhouse_tables_log.part_log.ttl is defined %} {{ clickhouse_tables_log.part_log.ttl }}