kosiew commented on code in PR #21566:
URL: https://github.com/apache/datafusion/pull/21566#discussion_r3729677689


##########
datafusion/datasource-parquet/src/opener/mod.rs:
##########
@@ -39,22 +39,26 @@ use crate::{
 use arrow::array::RecordBatch;
 use arrow::datatypes::DataType;
 use datafusion_datasource::morsel::{Morsel, MorselPlan, MorselPlanner, 
Morselizer};
+use datafusion_functions::core::input_file_name::InputFileNameFunc;
 use datafusion_physical_expr::projection::ProjectionExprs;
 use datafusion_physical_expr_adapter::replace_columns_with_literals;
-use 
datafusion_physical_expr_adapter::rewrite::rewrite_input_file_name_in_projection;
+use datafusion_physical_expr_adapter::rewrite::{
+    expr_references_scalar_udf, rewrite_input_file_name_in_projection,
+};
 use std::collections::{HashMap, VecDeque};
-use std::fmt;
+use std::fmt::{self, Display};
 use std::future::Future;
 use std::mem;
-use std::sync::Arc;
+use std::sync::{Arc, Mutex, MutexGuard};

Review Comment:
   - Add new cache module (`opener/pruning_cache.rs`) using `parking_lot::Mutex`
   
   This removes the poisoning/error-conversion machinery and makes the cache 
code smaller.



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

Reply via email to