comphead commented on code in PR #17397:
URL: https://github.com/apache/datafusion/pull/17397#discussion_r2322968565
##########
datafusion/datasource/src/file_stream.rs:
##########
@@ -345,7 +343,7 @@ impl RecordBatchStream for FileStream {
/// A fallible future that resolves to a stream of [`RecordBatch`]
pub type FileOpenFuture =
- BoxFuture<'static, Result<BoxStream<'static, Result<RecordBatch,
ArrowError>>>>;
+ BoxFuture<'static, Result<BoxStream<'static, Result<RecordBatch>>>>;
Review Comment:
This is amazing how rustc can distinguish `Result` implementations 😮
--
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]