viirya commented on code in PR #821:
URL: https://github.com/apache/datafusion-comet/pull/821#discussion_r1714803507


##########
spark/src/main/scala/org/apache/comet/serde/QueryPlanSerde.scala:
##########
@@ -2501,10 +2501,7 @@ object QueryPlanSerde extends Logging with 
ShimQueryPlanSerde with CometExprShim
 
       case SortExec(sortOrder, _, child, _)
           if isCometOperatorEnabled(op.conf, CometConf.OPERATOR_SORT) =>
-        // TODO: Remove this constraint when we upgrade to new arrow-rs 
including
-        // https://github.com/apache/arrow-rs/pull/6225
-        if (child.output.length == 1 && 
child.output.head.dataType.isInstanceOf[StructType]) {

Review Comment:
   It should be the column to sort (i.e., sort order) instead of child output. 
I made it wrong in #811.



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