tustvold commented on code in PR #6869:
URL: https://github.com/apache/arrow-rs/pull/6869#discussion_r1880318972
##########
object_store/src/azure/client.rs:
##########
@@ -556,10 +557,11 @@ impl AzureClient {
pub(crate) async fn put_block(
&self,
path: &Path,
- part_idx: usize,
+ _part_idx: usize,
payload: PutPayload,
) -> Result<PartId> {
- let content_id = format!("{part_idx:20}");
+ let part_idx = u128::from_be_bytes(rand::thread_rng().gen());
+ let content_id = format!("{part_idx:40}");
Review Comment:
```suggestion
let content_id = format!("{part_idx:032x}");
```
--
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]