andygrove commented on issue #1098:
URL: 
https://github.com/apache/datafusion-comet/issues/1098#issuecomment-2484837047

   The reason that each plan appears to be planned twice is that we split the 
`ShuffleWriterExec` from the rest of the plan (as noted in 
https://github.com/apache/datafusion-comet/issues/977).
   
   ```
   executePlan() stage 18 partition 28 of 29: planning took 666.045344ms
   Comet native query plan:
    SortExec: TopK(fetch=10), expr=[col_1@1 DESC NULLS LAST, col_2@2 ASC], 
preserve_partitioning=[false]
     CopyExec [UnpackOrDeepCopy]
       ScanExec: source=[], schema=[col_0: Int64, col_1: Decimal128(34, 4), 
col_2: Date32, col_3: Int32]
   
   executePlan() stage 18 partition 28 of 29: planning took 689.940558ms
   Comet native query plan:
    ShuffleWriterExec: partitioning=UnknownPartitioning(1)
     ScanExec: source=[], schema=[col_0: Int64, col_1: Decimal128(34, 4), 
col_2: Date32, col_3: Int32]
   ```
   


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