HyukjinKwon opened a new pull request #35222:
URL: https://github.com/apache/spark/pull/35222


   ### What changes were proposed in this pull request?
   
   This PR is a sort of a followup of 
https://github.com/apache/spark/pull/34719. It added a test but it is flaky due 
to the order of `TABLPROPERTIES` in `SHOW CREATE TALBE` on `VIEW` in v1 code 
path.
   
   This PR proposes to have a deterministic order by sorting the table 
properties in the show command. This is already being sorted in v2 (see 
`ShowCreateTableExec`).
   
   ### Why are the changes needed?
   
   To have the deterministic order, and fix the flaky test.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Virtually no. It might affect the order of TABLEPROPERTIES in `SHOW TABLE`'s 
output on `VIEW` when users are rely on 
   
   ### How was this patch tested?
   
   Fixed the flaky unittest to explicitly test the order.


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