Skip to content

Commit

Permalink
Avoid warnings when compiling without default features (#489)
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb authored Jun 3, 2021
1 parent 4392eea commit 28b0dad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion datafusion/src/physical_plan/functions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1275,7 +1275,7 @@ mod tests {
use arrow::{
array::{
Array, ArrayRef, BinaryArray, BooleanArray, FixedSizeListArray, Float64Array,
Int32Array, ListArray, StringArray, UInt32Array, UInt64Array,
Int32Array, StringArray, UInt32Array, UInt64Array,
},
datatypes::Field,
record_batch::RecordBatch,
Expand Down Expand Up @@ -3555,6 +3555,7 @@ mod tests {
#[test]
#[cfg(feature = "regex_expressions")]
fn test_regexp_match() -> Result<()> {
use arrow::array::ListArray;
let schema = Schema::new(vec![Field::new("a", DataType::Utf8, false)]);
let ctx_state = ExecutionContextState::new();

Expand Down Expand Up @@ -3594,6 +3595,7 @@ mod tests {
#[test]
#[cfg(feature = "regex_expressions")]
fn test_regexp_match_all_literals() -> Result<()> {
use arrow::array::ListArray;
let schema = Schema::new(vec![Field::new("a", DataType::Int32, false)]);
let ctx_state = ExecutionContextState::new();

Expand Down

0 comments on commit 28b0dad

Please sign in to comment.