zinking commented on code in PR #32606:
URL: https://github.com/apache/spark/pull/32606#discussion_r870074193
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/RemoveRedundantProjects.scala:
##########
@@ -97,6 +97,7 @@ object RemoveRedundantProjects extends Rule[SparkPlan] {
// If a DataSourceV2ScanExec node does not support columnar, a
ProjectExec node is required
// to convert the rows to UnsafeRow. See DataSourceV2Strategy for more
details.
case d: DataSourceV2ScanExecBase if !d.supportsColumnar => false
+ case FilterExec(_, d: DataSourceV2ScanExecBase) if !d.supportsColumnar
=> false
Review Comment:
@sarutak is this fix assuming columnar is off on v2 table? what if that is
on.
--
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]