You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "andygrove (via GitHub)" <gi...@apache.org> on 2025/09/15 01:25:00 UTC

Re: [I] CometHashAggregate prefixed with ! in explain plan [datafusion-comet]

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

   I started debugging this, and `CometHashAggregates.missingInputs` contains values, which leads to the warnings.
   
   In `CometHashAggregateExec`, I updated the code:
   
   ```
     override def stringArgs: Iterator[Any] =
       Iterator(input, mode, groupingExpressions, aggregateExpressions, child, "missing", missingInput)
   ```
   
   Here is an example output:
   
   ```
      !CometHashAggregate [_2#7, count#25L], Final, [_2#7], [count(_1#6)], missing, {count(_1)#21L, count(_1#6)#20L}
      +- CometExchange hashpartitioning(_2#7, 10), ENSURE_REQUIREMENTS, CometNativeShuffle, [plan_id=211]
         +- !CometHashAggregate [_1#6, _2#7], Partial, [_2#7], [partial_count(_1#6)], missing, {count#25L}
            +- CometScan [native_iceberg_compat] parquet [_1#6,_2#7] ... ReadSchema: struct<_1:int,_2:int>
   ```
   
   


-- 
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: github-unsubscribe@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org