timsaucer opened a new pull request, #21438:
URL: https://github.com/apache/datafusion/pull/21438

   ## Which issue does this PR close?
   
   - Closes https://github.com/apache/datafusion/issues/21411
   
   ## Rationale for this change
   
   When you have an alias on `grouping` function via dataframe API, you get an 
error. This resolves that error.
   
   ## What changes are included in this PR?
   
   Check for alias expressions in optimizer.
   Add unit tests.
   
   ## Are these changes tested?
   
   Unit test added, including a note on why a SQL logic test will not cover 
this case.
   
   ## Are there any user-facing changes?
   
   None


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