From bed5d057070bf4262d535b5c17b5cd7509faf7da Mon Sep 17 00:00:00 2001 From: Amey Chaugule Date: Thu, 12 Sep 2024 13:32:47 -0700 Subject: [PATCH] Making avro_to_arrow::schema::to_arrow_schema public --- datafusion/core/src/datasource/avro_to_arrow/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/datafusion/core/src/datasource/avro_to_arrow/mod.rs b/datafusion/core/src/datasource/avro_to_arrow/mod.rs index af0bb86a3e27..c59078c89dd0 100644 --- a/datafusion/core/src/datasource/avro_to_arrow/mod.rs +++ b/datafusion/core/src/datasource/avro_to_arrow/mod.rs @@ -30,6 +30,8 @@ use crate::arrow::datatypes::Schema; use crate::error::Result; #[cfg(feature = "avro")] pub use reader::{Reader, ReaderBuilder}; +#[cfg(feature = "avro")] +pub use schema::to_arrow_schema; use std::io::Read; #[cfg(feature = "avro")]