diff --git a/dbms/src/Storages/transformQueryForExternalDatabase.cpp b/dbms/src/Storages/transformQueryForExternalDatabase.cpp index 5e08dc8ce93..0827edfd42e 100644 --- a/dbms/src/Storages/transformQueryForExternalDatabase.cpp +++ b/dbms/src/Storages/transformQueryForExternalDatabase.cpp @@ -9,6 +9,8 @@ #include #include +#include + namespace DB { @@ -24,6 +26,9 @@ static bool isCompatible(const IAST & node) || name == "not" || name == "equals" || name == "notEquals" + || name == "like" + || name == "notLike" + || name == "in" || name == "greater" || name == "less" || name == "lessOrEquals" @@ -112,6 +117,8 @@ String transformQueryForExternalDatabase( settings.identifier_quoting_style = identifier_quoting_style; select->format(settings); + + std::cout << (out.str()); return out.str(); }