jackwener commented on code in PR #4013:
URL: https://github.com/apache/arrow-datafusion/pull/4013#discussion_r1008714009


##########
datafusion/core/src/physical_plan/planner.rs:
##########
@@ -1013,7 +1013,10 @@ impl DefaultPhysicalPlanner {
                         LogicalPlan::TableScan(..) => {
                             self.create_initial_plan(input, 
session_state).await
                         }
-                        _ => Err(DataFusionError::Plan("SubqueryAlias should 
only wrap TableScan".to_string()))
+                        LogicalPlan::Filter(..) => {
+                            self.create_initial_plan(input, 
session_state).await
+                        }
+                        _ => Err(DataFusionError::Plan("SubqueryAlias should 
only wrap TableScan or Filter".to_string()))

Review Comment:
   This PR is just a tmp solution for #4014.
   
   When I try to fix `Integrations test`, I add these code to fix it.



-- 
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]

Reply via email to