mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 02:52:13 +00:00
Kusto-phase1: use empty to check vector instead of size
This commit is contained in:
parent
c3a0c480a6
commit
a0735a5816
@ -247,7 +247,7 @@ bool ParserKQLQuery::parseImpl(Pos & pos, ASTPtr & node, Expected & expected)
|
||||
}
|
||||
}
|
||||
|
||||
if (operation_pos.size() > 0)
|
||||
if (!operation_pos.empty())
|
||||
{
|
||||
for (auto i = 0; i< kql_parser[last_op].backspace_steps; ++i)
|
||||
--last_pos;
|
||||
|
Loading…
Reference in New Issue
Block a user