v.23.10Improvement
Fix for OPTIMIZE Failure Due to Inconsistent Projections
SometimesOPTIMIZEwithoptimize_throw_if_noop=1may fail with an errorunknown reasonwhile the real cause of it - different projections in different parts. This behavior is fixed. #55130 (Nikita Mikhaylov).
Why it matters
This fix improves the error reporting and handling of theOPTIMIZE operation when projections differ across data parts, preventing misleading errors and helping users understand the actual cause.How to use it
UseOPTIMIZE with the setting optimize_throw_if_noop=1 as usual; the operation will no longer fail with an ambiguous error when projections differ between parts.