alamb commented on code in PR #26824:
URL: https://github.com/apache/datafusion/pull/26824#discussion_r4773046171
##########
docs/source/library-user-guide/upgrading/index.md:
##########
@@ -439,6 +439,83 @@ if let Some(schema) = catalog.schema("public")? {
The FFI wrappers (`FFI_CatalogProvider` and `FFI_SchemaProvider`) carry these
errors across the FFI boundary instead of dropping them.
+### `DataSource`, `FileSource` and `DataSink` serialize only their own state
+
+This change affects you if you serialize physical plans with `datafusion-proto`
+and you have your own `DataSource`, `FileSource` or `DataSink`, or you build
+the scan and sink protobuf messages by hand.
+
+Scans and sinks serialize as the `data_source` and `data_sink` variants of
Review Comment:
I think this upgrade note is not very useful (it says your code will not
compile after upgrade, rather than what to do about it). I think we could just
leave the migration guide below
--
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]