v.19.14Improvement

Extract Selectqueryexpressionanalyzer from Expressionanalyzer

Extract SelectQueryExpressionAnalyzer from ExpressionAnalyzer. Keep the last one for non-select queries. #6499 (Artem Zuikov)
Extracted SelectQueryExpressionAnalyzer from the general ExpressionAnalyzer to specialize analysis of SELECT queries, while keeping ExpressionAnalyzer for non-SELECT query types.

Why it matters

This refactoring improves the structure and clarity of the query analysis code by separating SELECT-specific logic into its own analyzer. It facilitates easier maintenance, better specialization for SELECT queries, and potential future enhancements focused on different query types.

How to use it

Users do not need to take any direct action, as this change is internal. It impacts ClickHouse's query analysis process transparently to the user, improving the system's robustness and extensibility.