VedantSawant616 commented on issue #18344:
URL: https://github.com/apache/datafusion/issues/18344#issuecomment-3459718370

   this case should be validated during query planning, since the planner 
already knows the column is of type `Null `and that `ORDER BY` isnt valid for 
it.
   the older behavior (`[NULL]`) was permissive, but the new one fails at 
execution time. the right fix is to add a planner level check so invalid sort 
operations on `Null` types are caught early with a clearer error.


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