-
Notifications
You must be signed in to change notification settings - Fork 590
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: Support variable input of System Administration Functions #11752
Comments
Not sure if it can cover all Administration Functions. I am only sure it can solve "xxx_size" functions. |
need discuss if we still need this after risingwavelabs/rfcs#75 |
This issue has been open for 60 days with no activity. If you think it is still relevant today, and needs to be done in the near future, you can comment to update the status, or just manually remove the You can also confidently close this issue as not planned to keep our backlog clean. |
Background
We have supported some PG's System Administration Functions https://www.postgresql.org/docs/9.1/functions-admin.html. But we only support literal input now.
In PG
In RW
The usage is found in bytebase's PG connector currently.
https://github.com/bytebase/bytebase/blob/b871987854e842d2adf21e7278594af38a3b1b6f/backend/plugin/db/pg/sync.go#L414-L423
implementation
We can bind it with nested subquery
Alternative
Another solution is to implement a special
SystemProject
executor in LocalExecution(Frontend) which can read from the catalog during processing.The text was updated successfully, but these errors were encountered: