mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
dbms: OLAP compatibility: fixed error with 'region_in' [#CONV-8571].
This commit is contained in:
parent
760a1fbca3
commit
54ecbee1aa
@ -281,9 +281,9 @@ std::string QueryConverter::convertCondition(const std::string & attribute, unsi
|
||||
if (name == "greater_or_equals")
|
||||
return "(" + value + ")" + " >= " + constant;
|
||||
if (name == "region_in")
|
||||
return "regionIn(" + value + ", " + constant + ")";
|
||||
return "regionIn(" + value + ", toUInt32(" + constant + "))";
|
||||
if (name == "region_not_in")
|
||||
return "NOT regionIn(" + value + ", " + constant + ")";
|
||||
return "NOT regionIn(" + value + ", toUInt32(" + constant + "))";
|
||||
if (name == "os_in")
|
||||
return "OSIn(" + value + ", " + constant + ")";
|
||||
if (name == "os_not_in")
|
||||
|
Loading…
Reference in New Issue
Block a user