Skip to content

fix: Ensure iox table schema is sorted for SHOW TABLES#26302

Merged
stuartcarnie merged 3 commits intomainfrom
issues/25860_show_tables
Apr 22, 2025
Merged

fix: Ensure iox table schema is sorted for SHOW TABLES#26302
stuartcarnie merged 3 commits intomainfrom
issues/25860_show_tables

Conversation

@stuartcarnie
Copy link
Copy Markdown
Contributor

@stuartcarnie stuartcarnie commented Apr 22, 2025

Closes #25860

Teaches the iox table provider to sort the output of the table_names API, so that SHOW TABLES sorts the output.

Testing

Introduced a new unit test to verify the output is sorted for SHOW TABLES

@stuartcarnie stuartcarnie self-assigned this Apr 22, 2025
@hiltontj hiltontj added the v3 label Apr 22, 2025
Copy link
Copy Markdown
Contributor

@hiltontj hiltontj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - but you will need to address clippy lints.

@stuartcarnie
Copy link
Copy Markdown
Contributor Author

Thanks @hiltontj – all done!

@stuartcarnie stuartcarnie requested a review from hiltontj April 22, 2025 19:27
@stuartcarnie stuartcarnie merged commit 8507bdc into main Apr 22, 2025
12 checks passed
@stuartcarnie stuartcarnie deleted the issues/25860_show_tables branch April 22, 2025 23:05
hiltontj pushed a commit that referenced this pull request May 2, 2025
* fix: Ensure `iox` table schema is sorted for SHOW TABLES

Closes #25860

* chore: Add insta snapshot

* chore: placate clippy
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.

v3 Feature Request: make 'show tables' output alphabetical

2 participants