DoumanAsh commented on code in PR #19262:
URL: https://github.com/apache/datafusion/pull/19262#discussion_r2613693520
##########
datafusion/datasource/src/write/demux.rs:
##########
@@ -156,7 +156,8 @@ async fn row_count_demuxer(
let max_buffered_batches =
exec_options.max_buffered_batches_per_output_file;
let minimum_parallel_files = exec_options.minimum_parallel_output_files;
let mut part_idx = 0;
- let write_id = rand::distr::Alphanumeric.sample_string(&mut rand::rng(),
16);
+ let mut write_id = exec_options.partitioned_file_prefix_name.clone();
Review Comment:
I think there is easier option - not to use non-named parameters in format
string :smile:
--
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]