namanjain24-sudo commented on code in PR #25318:
URL: https://github.com/apache/datafusion/pull/25318#discussion_r4723542459
##########
datafusion/ffi/src/proto/physical_extension_codec.rs:
##########
@@ -431,6 +509,211 @@ impl PhysicalExtensionCodec for
ForeignPhysicalExtensionCodec {
}
}
+/// An extension plan and codec for the cross-library integration test.
+///
+/// These live in this crate because the test `dlopen`s this crate's cdylib and
Review Comment:
`tests/cases/` is the test binary, but the test `dlopen`s a cdylib, so the
fixtures have to be compiled into one. They could move to
`datafusion-ffi-integration-tests/src/lib.rs`, which is that cdylib, at the
cost of promoting 7 of its dev-dependencies and adding `prost`.
On the volume: ~113 of the 194 lines are the plan itself, and those can go
by having the codec assert inside the cdylib and return a trivial plan instead,
at the cost of a weaker assertion. Happy to do either, whichever you prefer.
--
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]