adriangb commented on code in PR #19345:
URL: https://github.com/apache/datafusion/pull/19345#discussion_r2625723307


##########
docs/source/library-user-guide/upgrading.md:
##########
@@ -490,6 +490,24 @@ If you were using a custom `SchemaAdapterFactory` for 
schema adaptation (e.g., d
 
 See the [default column values 
example](https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/custom_data_source/default_column_values.rs)
 for how to implement a custom `PhysicalExprAdapterFactory`.
 
+### `SchemaAdapter` and `SchemaAdapterFactory` completely removed
+
+The following symbols have been completely removed from DataFusion:
+
+- `SchemaAdapter` trait
+- `SchemaAdapterFactory` trait
+- `SchemaMapper` trait
+- `SchemaMapping` struct
+- `DefaultSchemaAdapterFactory` struct
+
+These types were previously used to adapt record batch schemas during file 
reading.

Review Comment:
   How about I leave them in, mark them as deprecated and have them raise a 
runtime error with a link to the upgrading guide? At least then it doesn't fail 
silently at runtime. You'd have to ignore the compile time warnings as well.



-- 
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]

Reply via email to