Github user mgaido91 commented on the issue:

    https://github.com/apache/spark/pull/21049
  
    I am not sure we can actually do this. If we have for instance:
    ```
    select a + b from (select a, b from tb1 order by a) t1
    ```
    IIUC the plan would be transformed so that the sort is removed...but 
actually this will produce a change in the output, since keeping the sort would 
make the output of the query ordered by `a` instead of with a random order.
    What do you think?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to