Dandandan commented on code in PR #1011:
URL:
https://github.com/apache/datafusion-ballista/pull/1011#discussion_r1858468509
##########
ballista/scheduler/src/scheduler_server/grpc.rs:
##########
@@ -297,13 +298,24 @@ impl<T: 'static + AsLogicalPlan, U: 'static +
AsExecutionPlan> SchedulerGrpc
// TODO shouldn't this take a ListingOption object as input?
let GetFileMetadataParams { path, file_type } = request.into_inner();
- let file_format: Arc<dyn FileFormat> = match file_type.as_str() {
+ let file_format: Result<Arc<dyn FileFormat>, Status> = match
file_type.as_str() {
"parquet" => Ok(Arc::new(ParquetFormat::default())),
Review Comment:
I think pruning is default already, so in practice it will be the same.
--
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]