v.25.5Improvement
Proper implementation of ASTSelectWithUnionQuery::clone() method now takes
Proper implementation ofASTSelectWithUnionQuery::clone()method now takes into accountis_normalizedfield as well. This might help with #77569. #79909 (Nikita Mikhaylov).
Why it matters
This update ensures that when an abstract syntax tree (AST) of aSELECT query with a UNION is cloned, the normalization state (is_normalized) is preserved. It resolves inconsistencies and potential bugs related to query normalization during cloning, addressing issues like #77569.