Re: [I] Aliased aggregation expressions not visible in physical explain output [datafusion]

2026-01-16 Thread via GitHub


Jefffrey commented on issue #19685:
URL: https://github.com/apache/datafusion/issues/19685#issuecomment-3760027179

   Unassigning to free up this issue


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



Re: [I] Aliased aggregation expressions not visible in physical explain output [datafusion]

2026-01-07 Thread via GitHub


GaneshPatil7517 commented on issue #19685:
URL: https://github.com/apache/datafusion/issues/19685#issuecomment-3720613594

   take


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



[I] Aliased aggregation expressions not visible in physical explain output [datafusion]

2026-01-07 Thread via GitHub


pepijnve opened a new issue, #19685:
URL: https://github.com/apache/datafusion/issues/19685

   ### Describe the bug
   
   When the an aggregation expression has been aliased the original expression 
is visible in the logical plan explain output. In the physical output only the 
alias is printed making it hard to interpret.
   
   ### To Reproduce
   
   Here's an example logic plan constructed using the data frame API. The 
problematic line is
   ```
   AggregateExec: mode=Single, gby=[], aggr=[agg]
   ```
   
   ```
   Logical plan
   
   Aggregate: groupBy=[[]], aggr=[[sum(column1) FILTER (WHERE column2 <= 
Int64(0)) AS agg]]
 Values: (Int64(1), Int64(100)), (Int64(2), Int64(200)), (Int64(3), 
Int64(314))
   
   Optimized logical plan
   ==
   Aggregate: groupBy=[[]], aggr=[[sum(column1) FILTER (WHERE column2 <= 
Int64(0)) AS agg]]
 Values: (Int64(1), Int64(100)), (Int64(2), Int64(200)), (Int64(3), 
Int64(314))
   
   Physical plan
   =
   AggregateExec: mode=Single, gby=[], aggr=[agg]
 DataSourceExec: partitions=1, partition_sizes=[1]
   ```
   
   ### Expected behavior
   
   Rather than
   ```
   AggregateExec: mode=Single, gby=[], aggr=[agg]
   ```
   the explain output should show something like
   ```
   AggregateExec: mode=Single, gby=[], aggr=[sum(column1@0) FILTER (WHERE 
column2@1 <= Int64(0)) as agg]
   ```
   
   ### Additional context
   
   _No response_


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