diff --git a/datafusion/src/datasource/avro.rs b/datafusion/src/datasource/avro.rs index 28e63c9723548..b094edb7caedc 100644 --- a/datafusion/src/datasource/avro.rs +++ b/datafusion/src/datasource/avro.rs @@ -180,6 +180,7 @@ impl TableProvider for AvroFile { } #[cfg(test)] +#[cfg(feature = "avro")] mod tests { use arrow::array::{ BinaryArray, BooleanArray, Float32Array, Float64Array, Int32Array,