From 6fae14bb541232d558b59c6976eeb1dc7acbfaf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Far=C3=ADas=20Santana?= Date: Wed, 13 Nov 2024 21:54:58 +0100 Subject: [PATCH] fix: Switch back to hash join (#26182) --- posthog/temporal/batch_exports/batch_exports.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/posthog/temporal/batch_exports/batch_exports.py b/posthog/temporal/batch_exports/batch_exports.py index 9aea79a9e43..f980c91dc25 100644 --- a/posthog/temporal/batch_exports/batch_exports.py +++ b/posthog/temporal/batch_exports/batch_exports.py @@ -64,9 +64,7 @@ FORMAT ArrowStream SETTINGS max_bytes_before_external_group_by=50000000000, max_bytes_before_external_sort=50000000000, - optimize_aggregation_in_order=1, - max_threads=32, - join_algorithm='partial_merge' + optimize_aggregation_in_order=1 """ SELECT_FROM_PERSONS_VIEW_BACKFILL = """ @@ -87,9 +85,7 @@ FORMAT ArrowStream SETTINGS max_bytes_before_external_group_by=50000000000, max_bytes_before_external_sort=50000000000, - optimize_aggregation_in_order=1, - max_threads=32, - join_algorithm='partial_merge' + optimize_aggregation_in_order=1 """ SELECT_FROM_EVENTS_VIEW = Template(