You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "jinchengchenghh (via GitHub)" <gi...@apache.org> on 2025/06/16 08:08:19 UTC

Re: [PR] [SPARK-52484][SQL] Remove child.supportsColumnar assertion in ColumnarToRowExec [spark]

jinchengchenghh commented on code in PR #51183:
URL: https://github.com/apache/spark/pull/51183#discussion_r2149306802


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/Columnar.scala:
##########
@@ -66,9 +65,6 @@ trait ColumnarToRowTransition extends UnaryExecNode
  * [[MapPartitionsInRWithArrowExec]]. Eventually this should replace those implementations.
  */
 case class ColumnarToRowExec(child: SparkPlan) extends ColumnarToRowTransition with CodegenSupport {
-  // supportsColumnar requires to be only called on driver side, see also SPARK-37779.
-  assert(Utils.isInRunningSparkTask || child.supportsColumnar)

Review Comment:
   Do you keep Utils.isInRunningSparkTask



-- 
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: reviews-unsubscribe@spark.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org