urosstan-db commented on code in PR #47443:
URL: https://github.com/apache/spark/pull/47443#discussion_r1686489425


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/DataSourceV2Strategy.scala:
##########
@@ -108,6 +108,9 @@ class DataSourceV2Strategy(session: SparkSession) extends 
Strategy with Predicat
   }
 
   override def apply(plan: LogicalPlan): Seq[SparkPlan] = plan match {
+    case PhysicalOperation(_, _, DataSourceV2ScanRelation(

Review Comment:
   This problem would be solveable with plan costs, but AFAIK, first physical 
plan is always used for execution.



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

Reply via email to