v.21.7Improvement

Fix Trailing Whitespaces in Multiline Subquery FROM Clause

Fix trailing whitespaces in FROM clause with subqueries in multiline mode, and also changes the output of the queries slightly in a more human friendly way. #24151 (Azat Khuzhin).
Fixes trailing whitespaces in the FROM clause when using subqueries in multiline mode and improves the query output formatting for better readability.

Why it matters

This update resolves formatting issues where trailing whitespaces appeared in the FROM clause with subqueries when queries are written in multiline mode. It also enhances the output to be more human-friendly, helping users to read and understand query results more easily.

How to use it

Users benefit from this improvement automatically by updating to the new version, with no additional configuration required.