mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 08:52:06 +00:00
Fixed clang-tidy build issue by making replaceQueryParametersIfParametrizedView static - 40907 Parameterized views as table functions
This commit is contained in:
parent
4dec8337f0
commit
2ef30d4343
@ -176,7 +176,7 @@ static ASTTableExpression * getFirstTableExpression(ASTSelectQuery & select_quer
|
|||||||
return select_element->table_expression->as<ASTTableExpression>();
|
return select_element->table_expression->as<ASTTableExpression>();
|
||||||
}
|
}
|
||||||
|
|
||||||
void StorageView::replaceQueryParametersIfParametrizedView(ASTPtr & outer_query, const NameToNameMap & parameter_values) const
|
void StorageView::replaceQueryParametersIfParametrizedView(ASTPtr & outer_query, const NameToNameMap & parameter_values)
|
||||||
{
|
{
|
||||||
ReplaceQueryParameterVisitor visitor(parameter_values);
|
ReplaceQueryParameterVisitor visitor(parameter_values);
|
||||||
visitor.visit(outer_query);
|
visitor.visit(outer_query);
|
||||||
|
@ -35,7 +35,7 @@ public:
|
|||||||
size_t max_block_size,
|
size_t max_block_size,
|
||||||
size_t num_streams) override;
|
size_t num_streams) override;
|
||||||
|
|
||||||
void replaceQueryParametersIfParametrizedView(ASTPtr & outer_query, const NameToNameMap & parameter_values) const;
|
static void replaceQueryParametersIfParametrizedView(ASTPtr & outer_query, const NameToNameMap & parameter_values);
|
||||||
|
|
||||||
static void replaceWithSubquery(ASTSelectQuery & select_query, ASTPtr & view_name, const StorageMetadataPtr & metadata_snapshot, const bool parameterized_view)
|
static void replaceWithSubquery(ASTSelectQuery & select_query, ASTPtr & view_name, const StorageMetadataPtr & metadata_snapshot, const bool parameterized_view)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user