scovich commented on code in PR #9097:
URL: https://github.com/apache/arrow-rs/pull/9097#discussion_r2665636285


##########
arrow-json/src/reader/mod.rs:
##########
@@ -304,7 +305,7 @@ impl ReaderBuilder {
         };
 
         let decoder = make_decoder(
-            data_type,
+            data_type.clone(),

Review Comment:
   We could avoid this clone by extracting the projection first. It _seems_ to 
be a pretty self-contained operation, is there a reason we must delay it?



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