Wechar created SPARK-50469:
------------------------------

             Summary: V1Writes should respect the output ordering
                 Key: SPARK-50469
                 URL: https://issues.apache.org/jira/browse/SPARK-50469
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 3.5.3
            Reporter: Wechar


In V1Writes rule, it would add a new local sort if the outputOrdering is not 
matched with requiredOrdering. However it only add the requiredOrdering in the 
new local sort, and the `EliminateSorts` rule would remove the underlying 
outputOrdering, which cause the final written dada miss the user's query order.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to