Skip to content

Commit 703b23a

Browse files
committed
Fix tidy build
1 parent 3d4922b commit 703b23a

File tree

1 file changed

+2
-2
lines changed
  • src/Storages/ObjectStorage/DataLakes/Iceberg

1 file changed

+2
-2
lines changed

src/Storages/ObjectStorage/DataLakes/Iceberg/Utils.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,12 @@ std::string getProperFilePathFromMetadataInfo(
9292
pos = data_path.find("://");
9393
if (pos == std::string::npos)
9494
throw ::DB::Exception(DB::ErrorCodes::BAD_ARGUMENTS, "Unexpected data path: '{}'", data_path);
95-
pos = data_path.find("/", pos + 3);
95+
pos = data_path.find('/', pos + 3);
9696
if (pos == std::string::npos)
9797
throw ::DB::Exception(DB::ErrorCodes::BAD_ARGUMENTS, "Unexpected data path: '{}'", data_path);
9898
if (data_path.substr(pos + 1).starts_with(common_namespace))
9999
{
100-
auto new_pos = data_path.find("/", pos + 1);
100+
auto new_pos = data_path.find('/', pos + 1);
101101
if (new_pos - pos == common_namespace.length() + 1) /// bucket in the path
102102
pos = new_pos;
103103
}

0 commit comments

Comments
 (0)