v.24.7Bug Fix
Disable non-intersecting-parts optimization for FINAL queries with read-in-order enabled
Disablenon-intersecting-partsoptimization for queries withFINALin case ofread-in-orderoptimization was enabled. This could lead to an incorrect query result. As a workaround, disabledo_not_merge_across_partitions_select_finalandsplit_parts_ranges_into_intersecting_and_non_intersecting_finalbefore this fix is merged. #65505 (Nikolai Kochetov).