Skip to content

Commit 9cfb9cd

Browse files
mbutrovichadriangb
andauthored
remove warning from every file open (#16968) (#17059)
this is too noisy and not helpful yet, we don't have a fully implemented alternative (cherry picked from commit 0183244) Co-authored-by: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com>
1 parent afb9099 commit 9cfb9cd

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

datafusion/datasource-parquet/src/source.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -469,12 +469,6 @@ impl FileSource for ParquetSource {
469469
.file_column_projection_indices()
470470
.unwrap_or_else(|| (0..base_config.file_schema.fields().len()).collect());
471471

472-
if self.schema_adapter_factory.is_some() {
473-
log::warn!("The SchemaAdapter API will be removed from ParquetSource in a future release. \
474-
Use PhysicalExprAdapterFactory API instead. \
475-
See https://github.com/apache/datafusion/issues/16800 for discussion and https://datafusion.apache.org/library-user-guide/upgrading.html#datafusion-49-0-0 for upgrade instructions.");
476-
}
477-
478472
let (expr_adapter_factory, schema_adapter_factory) = match (
479473
base_config.expr_adapter_factory.as_ref(),
480474
self.schema_adapter_factory.as_ref(),

0 commit comments

Comments
 (0)