You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/03/07 12:11:41 UTC

[GitHub] [arrow-datafusion] alamb commented on a change in pull request #1938: Fix select from EmptyExec always return 0 row.

alamb commented on a change in pull request #1938:
URL: https://github.com/apache/arrow-datafusion/pull/1938#discussion_r820645941



##########
File path: datafusion/src/physical_plan/empty.rs
##########
@@ -108,7 +108,10 @@ impl ExecutionPlan for EmptyExec {
         children: Vec<Arc<dyn ExecutionPlan>>,
     ) -> Result<Arc<dyn ExecutionPlan>> {
         match children.len() {
-            0 => Ok(Arc::new(EmptyExec::new(false, self.schema.clone()))),
+            0 => Ok(Arc::new(EmptyExec::new(

Review comment:
       This is a nice find @Ted-Jiang  👍 




-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org