jiangzhx commented on issue #5635:
URL: 
https://github.com/apache/arrow-datafusion/issues/5635#issuecomment-1477285559

    ```
       // let sql = "SELECT to_date(a) as u from t group by u";        //got 
error
       // let sql = "SELECT to_timestamp(a) as u from t group by u";   //got 
error
   
       // let sql = "SELECT to_date(a) as u from t group by u order by u";      
  //got right
       // let sql = "SELECT to_timestamp(a) as u from t group by u order by u"; 
  //got right
   ```
   the difference is append `order by u`
   


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

Reply via email to