zhztheplayer commented on code in PR #7620:
URL: https://github.com/apache/incubator-gluten/pull/7620#discussion_r1809983607
##########
backends-velox/src/main/scala/org/apache/gluten/backendsapi/velox/VeloxValidatorApi.scala:
##########
@@ -91,6 +91,10 @@ class VeloxValidatorApi extends ValidatorApi {
override def doColumnarShuffleExchangeExecValidate(
outputPartitioning: Partitioning,
child: SparkPlan): Option[String] = {
+ if (child.output.isEmpty) {
+ // See: https://github.com/apache/incubator-gluten/issues/7600.
+ return Some("Shuffle with empty schema is not supported")
+ }
Review Comment:
Empty schema batches should pass through shuffle so that they can be handled
in reducer-side operators within the row number information they carried on.
cc @marin-ma
--
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]