| 160 | } |
| 161 | |
| 162 | [[nodiscard]] static bool parseQueryWithOnCluster(boost::intrusive_ptr<ASTSystemQuery> & res, IParser::Pos & pos, |
| 163 | Expected & expected) |
| 164 | { |
| 165 | String cluster_str; |
| 166 | if (ParserKeyword{Keyword::ON}.ignore(pos, expected)) |
| 167 | { |
| 168 | if (!ASTQueryWithOnCluster::parse(pos, cluster_str, expected)) |
| 169 | return false; |
| 170 | } |
| 171 | res->cluster = cluster_str; |
| 172 | |
| 173 | return true; |
| 174 | } |
| 175 | |
| 176 | [[nodiscard]] static bool parseDropReplica(boost::intrusive_ptr<ASTSystemQuery> & res, IParser::Pos & pos, Expected & expected, bool database) |
| 177 | { |
no test coverage detected