Lordworms commented on code in PR #9799:
URL: https://github.com/apache/arrow-datafusion/pull/9799#discussion_r1541131140


##########
datafusion/core/src/datasource/physical_plan/json.rs:
##########
@@ -150,12 +151,22 @@ impl ExecutionPlan for NdJsonExec {
         target_partitions: usize,
         config: &datafusion_common::config::ConfigOptions,
     ) -> Result<Option<Arc<dyn ExecutionPlan>>> {
-        let repartition_file_min_size = 
config.optimizer.repartition_file_min_size;
+        let repartition_file_min_size =
+            if self.file_compression_type == FileCompressionType::GZIP {
+                OptimizerOptions::default().repartition_file_min_size

Review Comment:
   Sure



-- 
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]

Reply via email to