DoumanAsh commented on code in PR #19262:
URL: https://github.com/apache/datafusion/pull/19262#discussion_r2613689898
##########
datafusion/datasource-parquet/src/writer.rs:
##########
@@ -39,21 +39,22 @@ pub async fn plan_to_parquet(
let object_store_url = parsed.object_store();
let store = task_ctx.runtime_env().object_store(&object_store_url)?;
let mut join_set = JoinSet::new();
+ let exec_options = &task_ctx.session_config().options().execution;
for i in 0..plan.output_partitioning().partition_count() {
let plan: Arc<dyn ExecutionPlan> = Arc::clone(&plan);
- let filename = format!("{}/part-{i}.parquet", parsed.prefix());
+ let filename = format!(
+ "{}/{}part-{i}.parquet",
+ exec_options.partitioned_file_prefix_name,
+ parsed.prefix()
+ );
Review Comment:
Thank you, applied
--
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]