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: add table id and engine to information_schema.TABLES #1407

Merged
merged 8 commits into from
Apr 19, 2023
Merged

feat: add table id and engine to information_schema.TABLES #1407

merged 8 commits into from
Apr 19, 2023

Conversation

haohuaijin
Copy link
Contributor

@haohuaijin haohuaijin commented Apr 18, 2023

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

add table_id and table_engine to information_schema.TABLES

Checklist

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

close #1355

@codecov
Copy link

codecov bot commented Apr 18, 2023

Codecov Report

Merging #1407 (7d730b1) into develop (cc7c313) will decrease coverage by 0.56%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop    #1407      +/-   ##
===========================================
- Coverage    85.96%   85.41%   -0.56%     
===========================================
  Files          531      534       +3     
  Lines        79240    79710     +470     
===========================================
- Hits         68120    68083      -37     
- Misses       11120    11627     +507     

Copy link
Member

@waynexia waynexia left a comment

Choose a reason for hiding this comment

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

Mostly looks good to me 👍 We can add some tests about information schema to sqlness to verify and prevent future breakings.

@evenyag evenyag merged commit e4cd08c into GreptimeTeam:develop Apr 19, 2023
@haohuaijin haohuaijin deleted the information_schema.tables branch April 19, 2023 03:33
paomian pushed a commit to paomian/greptimedb that referenced this pull request Oct 19, 2023
…eam#1407)

* feat: add table id and engine to informatin_schema.TABLES

* Update src/catalog/src/information_schema/tables.rs

Co-authored-by: Yingwen <realevenyag@gmail.com>

* chore: change table_engine to engine

* test: update sqlness for information schema

* test: update information_schema test in frontend::tests::instance_test.rs

* fix: github action sqlness information_schema test fail

* test: ignore table_id in information_schema

* test: support distribute and standalone have different output

---------

Co-authored-by: Yingwen <realevenyag@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add table id and engine to information_schema.tables
5 participants