mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 01:22:04 +00:00
Merge pull request #17984 from nikitamikhaylov/fix-arcadia-second
Fix arcadia
This commit is contained in:
commit
f1a145a2b2
@ -427,7 +427,7 @@ struct TestKeeperStorageMultiRequest final : public TestKeeperStorageRequest
|
||||
|
||||
for (const auto & sub_request : request.requests)
|
||||
{
|
||||
auto sub_zk_request = dynamic_pointer_cast<Coordination::ZooKeeperRequest>(sub_request);
|
||||
auto sub_zk_request = std::dynamic_pointer_cast<Coordination::ZooKeeperRequest>(sub_request);
|
||||
if (sub_zk_request->getOpNum() == Coordination::OpNum::Create)
|
||||
{
|
||||
concrete_requests.push_back(std::make_shared<TestKeeperStorageCreateRequest>(sub_zk_request));
|
||||
|
@ -178,7 +178,7 @@ static inline std::tuple<NamesAndTypesList, NamesAndTypesList, NamesAndTypesList
|
||||
if (const auto & function = index_expression->as<ASTFunction>())
|
||||
{
|
||||
/// column_name(int64 literal)
|
||||
if (columns_name_set.contains(function->name) && function->arguments->children.size() == 1)
|
||||
if (columns_name_set.count(function->name) && function->arguments->children.size() == 1)
|
||||
{
|
||||
const auto & prefix_limit = function->arguments->children[0]->as<ASTLiteral>();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user