#pragma once #include #include #include #include namespace DB { class ColumnsDescription; /// Replace storage alias columns in select query if possible. Return true if the query is changed. bool replaceAliasColumnsInQuery( ASTPtr & ast, const ColumnsDescription & columns, const NameToNameMap & array_join_result_to_source, ContextPtr context); }