-
Notifications
You must be signed in to change notification settings - Fork 704
feat(frontend): implement system catalog schema: information_schema
#6227
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
Conversation
BowenXiao1999
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Great Job.
We can replace Describe t; next
yezizp2012
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job!!I LGTM.
yezizp2012
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM~
Codecov Report
@@ Coverage Diff @@
## main #6227 +/- ##
==========================================
+ Coverage 74.18% 74.57% +0.38%
==========================================
Files 944 945 +1
Lines 152310 152769 +459
==========================================
+ Hits 112992 113923 +931
+ Misses 39318 38846 -472
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
Please add some description about the |
I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?
information_schema. And addinformation_schema.columns.columnscontains columns intable,materialized view(except internal tables)andsystem table.table_idinstead oftable_name.TODO
information_schema.columns, we may need to modify the type system of RisingWave.information_schema.columns.information_schema, I will check it later.Checklist
./risedev check(or alias,./risedev c)Documentation
Types of user-facing changes
Please keep the types that apply to your changes, and remove those that do not apply.
Release note
information_schema(PostgreSQL's doc: https://www.postgresql.org/docs/current/information-schema.html).The information schema consists of a set of views that contain information about the objects defined in the current database.
information_schema.columns(PostgreSQL's doc: https://www.postgresql.org/docs/current/infoschema-columns.html).The view columns contains information about all table columns (or view columns) in the database. System columns (ctid, etc.) are not included. Only those columns are shown that the current user has access to (by way of being the owner or having some privilege). In RisingWave,
columnsalso contains all materialized views' columns.Refer to a related PR or issue link (optional)
relate #6149