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

support query: show table status #4757

Merged

Conversation

TCeason
Copy link
Collaborator

@TCeason TCeason commented Apr 8, 2022

I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/

Summary

Support SQL

SHOW TABLE STATUS
    [{FROM | IN} db_name]
    [LIKE 'pattern' | WHERE expr]

Changelog

  • New Feature
  • Build/Testing/CI
  • Documentation

Related Issues

Fixes #4698

@vercel
Copy link

vercel bot commented Apr 8, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/databend/databend/3d6zKjPU3Be8Ayw3QV2RgsZ8Fptu
✅ Preview: https://databend-git-fork-tceason-issue-4698-supportsho-61b85c-databend.vercel.app

@mergify
Copy link
Contributor

mergify bot commented Apr 8, 2022

Thanks for the contribution!
I have applied any labels matching special text in your PR Changelog.

Please review the labels and make any necessary changes.

@mergify mergify bot added pr-feature this PR introduces a new feature to the codebase pr-build this PR changes build/testing/ci steps pr-doc-fix labels Apr 8, 2022
@BohuTANG BohuTANG requested a review from sundy-li April 8, 2022 07:04
@@ -39,7 +39,10 @@ impl ShowTablesInterpreter {
}

fn build_query(&self) -> Result<String> {
let database = self.ctx.get_current_database();
let mut database = self.ctx.get_current_database();
if self.plan.fromdb.is_some() {
Copy link
Member

Choose a reason for hiding this comment

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

if let Some(xx) = ... {}

Copy link
Member

@BohuTANG BohuTANG left a comment

Choose a reason for hiding this comment

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

🚀

@mergify mergify bot merged commit 4bfa099 into datafuselabs:main Apr 8, 2022
@BohuTANG BohuTANG mentioned this pull request May 12, 2022
55 tasks
@Xuanwo Xuanwo added this to the v0.8 milestone May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need-review pr-build this PR changes build/testing/ci steps pr-feature this PR introduces a new feature to the codebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: Support SQL show table status
5 participants