jackwener commented on issue #4854:
URL: 
https://github.com/apache/arrow-datafusion/issues/4854#issuecomment-1378372987

   I debug this bug.
   
   Before apply `Sort`, the plan is:
   ```sql
   Projection: SUM(t.value) AS value, datetrunc(Utf8("month"), t.time) AS time
     Aggregate: groupBy=[[t.time]], aggr=[[SUM(t.value)]]
       TableScan: t
   ```


-- 
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-unsubscr...@arrow.apache.org

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

Reply via email to