gavinchou commented on code in PR #53331:
URL: https://github.com/apache/doris/pull/53331#discussion_r2212739360
##########
be/src/io/file_factory.cpp:
##########
@@ -87,7 +88,7 @@ int32_t get_broker_index(const std::vector<TNetworkAddress>&
brokers, const std:
}
// secondly select broker by hash of file path
- auto key = HashUtil::hash(path.data(), path.size(), 0);
+ auto key = HashUtil::hash(path.data(), static_cast<int32_t>(path.size()),
0);
Review Comment:
```suggestion
auto key = HashUtil::hash(path.data(), cast_set<int32_t>(path.size()),
0);
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]