mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-02 12:32:04 +00:00
Apply suggestions from code review
Co-authored-by: Kruglov Pavel <48961922+Avogar@users.noreply.github.com>
This commit is contained in:
parent
dc897215da
commit
c899ff9da2
@ -779,9 +779,7 @@ static const orc::Type * traverseDownORCTypeByName(
|
||||
|
||||
if (orc::STRUCT == orc_type->getKind())
|
||||
{
|
||||
auto next_type_and_target = search_struct_field(target, orc_type);
|
||||
const auto & next_target = next_type_and_target.first;
|
||||
const auto * next_orc_type = next_type_and_target.second;
|
||||
const auto [next_target, next_orc_type]= search_struct_field(target, orc_type);
|
||||
return next_orc_type ? traverseDownORCTypeByName(next_target, next_orc_type, type, ignore_case) : nullptr;
|
||||
}
|
||||
else if (orc::LIST == orc_type->getKind())
|
||||
|
Loading…
Reference in New Issue
Block a user