sarutak commented on a change in pull request #25260: [SPARK-28520][SQL] WholeStageCodegen does not work property for LocalTableScanExec URL: https://github.com/apache/spark/pull/25260#discussion_r307962223
########## File path: sql/core/src/main/scala/org/apache/spark/sql/execution/LocalTableScanExec.scala ########## @@ -80,8 +80,7 @@ case class LocalTableScanExec( // Input is already UnsafeRows. override protected val createUnsafeProjection: Boolean = false - // Do not codegen when there is no parent - to support the fast driver-local collect/take paths. - override def supportCodegen: Boolean = (parent != null) + override def supportCodegen: Boolean = true Review comment: Ah, exactly. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
