andygrove commented on code in PR #3647:
URL: https://github.com/apache/datafusion-comet/pull/3647#discussion_r2912621961
##########
native/spark-expr/src/predicate_funcs/rlike.rs:
##########
@@ -21,7 +21,9 @@ use arrow::array::types::Int32Type;
use arrow::array::{Array, BooleanArray, DictionaryArray, RecordBatch,
StringArray};
use arrow::compute::take;
use arrow::datatypes::{DataType, Schema};
-use datafusion::common::{internal_err, Result};
+use datafusion::common::{internal_err, Result, ScalarValue};
+#[cfg(test)]
+use datafusion::physical_expr::expressions::Literal;
Review Comment:
The import should just be moved inside `mod test` which is already behind
the `#[cfg(test)]` guard
--
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]