2020-12-12 16:42:15 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <Core/Names.h>
|
2021-04-10 23:33:54 +00:00
|
|
|
#include <Interpreters/Context_fwd.h>
|
2020-12-12 16:42:15 +00:00
|
|
|
#include <Parsers/IAST_fwd.h>
|
2021-04-10 23:33:54 +00:00
|
|
|
#include <common/types.h>
|
2020-12-12 16:42:15 +00:00
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
|
|
|
|
|
|
|
class ColumnsDescription;
|
2021-04-10 23:33:54 +00:00
|
|
|
|
2021-06-17 15:00:03 +00:00
|
|
|
void replaceAliasColumnsInQuery(
|
2021-05-21 17:01:21 +00:00
|
|
|
ASTPtr & ast, const ColumnsDescription & columns, const NameToNameMap & array_join_result_to_source, ContextPtr context);
|
2020-12-12 16:42:15 +00:00
|
|
|
|
|
|
|
}
|