Skip to content

Conversation

@HyukjinKwon
Copy link
Member

What changes were proposed in this pull request?

This PR is a sort of a followup of #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.

@Peng-Lei
Copy link
Contributor

LGTM

@HyukjinKwon
Copy link
Member Author

All tests passed at https://github.com/HyukjinKwon/spark/runs/4835259017.

Merged to master.

@HyukjinKwon
Copy link
Member Author

Thanks guys!

@cloud-fan
Copy link
Contributor

late LGTM

@HyukjinKwon HyukjinKwon deleted the SPARK-37924 branch January 15, 2024 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants