v.19.14Improvement

Extract Getaggregatesvisitor Class from Expressionanalyzer

Extract GetAggregatesVisitor class from ExpressionAnalyzer. #6458 (Artem Zuikov)
Extracted the GetAggregatesVisitor class from ExpressionAnalyzer to improve code modularity and maintainability.

Why it matters

This change separates the logic for extracting aggregate functions from the main expression analysis logic. It enhances the code structure by isolating the aggregate extraction visitor, facilitating easier maintenance, testing, and potential reuse.

How to use it

There is no direct user-facing change. This is an internal refactoring to improve code organization. Users benefit indirectly through improved code quality and potential future enhancements.