waynexia opened a new issue, #7879:
URL: https://github.com/apache/arrow-datafusion/issues/7879

   ### Describe the bug
   
   
https://github.com/apache/arrow-datafusion/blob/main/datafusion/physical-expr/src/sort_expr.rs#L64-L73
   
   This function (`PhysicalSortExpr::evaluate_to_sort_column()`) is in the 
execution phase. Errors at this stage should be `exec_err!` rather than 
`plan_err!`, right?
   
   I also see other places have similar behavior and open this ticket to 
confirm. I'll submit a patch to change them if so.
   
   ### To Reproduce
   
   _No response_
   
   ### Expected behavior
   
   _No response_
   
   ### 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]

Reply via email to