From 0d6612d4246dd79804571da39921f2e611035ac5 Mon Sep 17 00:00:00 2001 From: proller Date: Thu, 12 Sep 2019 22:52:24 +0300 Subject: [PATCH] CLICKHOUSE-4652 Simpler --- dbms/src/Functions/array/arrayEnumerateRanked.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/dbms/src/Functions/array/arrayEnumerateRanked.h b/dbms/src/Functions/array/arrayEnumerateRanked.h index 3070a9666b4..de7656b70da 100644 --- a/dbms/src/Functions/array/arrayEnumerateRanked.h +++ b/dbms/src/Functions/array/arrayEnumerateRanked.h @@ -336,10 +336,6 @@ void FunctionArrayEnumerateRankedExtended::executeMethodImpl( /// Skipping offsets if no data in this array if (prev_off == off) { - - if (depth_to_look > 2) - want_clear = true; - if (depth_to_look >= 2) { /// Advance to the next element of the parent array.