Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(meta): list tables with specified name pattern #2172

Merged
merged 21 commits into from
Jan 15, 2025

Conversation

empiredan
Copy link
Contributor

@empiredan empiredan commented Dec 25, 2024

Once there are a great number of tables on a cluster(say several thousands), the
whole result of executing ls by Pegasus shell cannot even be seen on the terminal.
If we want to see one or multiple tables with some specified pattern which could not
be shown on the terminal by ls, the only way is to use bash commands or even script
to list the target tables.

We would allow specifying name pattern for ls command, to show just one or several
tables according to the pattern instead of all. This is useful while we want to find just
several tables with obvious characteristic(e.g. the same prefix) among hundreds or even
thousands of tables on the cluster.

@empiredan empiredan marked this pull request as ready for review January 2, 2025 08:53
src/client/replication_ddl_client.cpp Outdated Show resolved Hide resolved
src/client/replication_ddl_client.cpp Show resolved Hide resolved
src/client/replication_ddl_client.h Outdated Show resolved Hide resolved
src/client/replication_ddl_client.h Outdated Show resolved Hide resolved
src/meta/meta_http_service.cpp Outdated Show resolved Hide resolved
@acelyc111 acelyc111 closed this Jan 13, 2025
@acelyc111 acelyc111 reopened this Jan 13, 2025
@acelyc111 acelyc111 closed this Jan 14, 2025
@acelyc111 acelyc111 reopened this Jan 14, 2025
@empiredan empiredan merged commit 2432972 into apache:master Jan 15, 2025
263 of 265 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants