mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
Update src/Storages/transformQueryForExternalDatabase.cpp
Co-authored-by: Sema Checherinda <104093494+CheSema@users.noreply.github.com>
This commit is contained in:
parent
399d61b222
commit
d0ba561faa
@ -315,7 +315,7 @@ String transformQueryForExternalDatabaseImpl(
|
|||||||
{
|
{
|
||||||
replaceConstantExpressions(original_where, context, available_columns);
|
replaceConstantExpressions(original_where, context, available_columns);
|
||||||
|
|
||||||
/// Replace like WHERE 1 AND 1 to WHRE 1 = 1 AND 1 = 1
|
/// Replace like WHERE 1 AND 1 to WHERE 1 = 1 AND 1 = 1
|
||||||
ReplaceLiteralToExprVisitor::Data replace_literal_to_expr_data;
|
ReplaceLiteralToExprVisitor::Data replace_literal_to_expr_data;
|
||||||
ReplaceLiteralToExprVisitor(replace_literal_to_expr_data).visit(original_where);
|
ReplaceLiteralToExprVisitor(replace_literal_to_expr_data).visit(original_where);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user