mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
CLICKHOUSE-3947 add LIKE and IN ()
This commit is contained in:
parent
eb5f571935
commit
c377389f62
@ -9,6 +9,8 @@
|
||||
#include <Interpreters/ExpressionAnalyzer.h>
|
||||
#include <Storages/transformQueryForExternalDatabase.h>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
|
||||
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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user