8000 feat: support DESCRIBE FRAGMENT <fragment_id> by devin-ai-integration[bot] · Pull Request #21588 · risingwavelabs/risingwave · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: support DESCRIBE FRAGMENT <fragment_id> #21588

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

Closed

Conversation

devin-ai-integration[bot]
Copy link

Implements future work items from #21432:

  • Support DESCRIBE FRAGMENT <fragment_id> to debug specific fragments
  • Add meta client API to fetch a specific fragment's definition
  • Enhance output with relation name information (placeholder for now)
  • Support verbosity options with WITH (VERBOSE)

Link to Devin run: https://app.devin.ai/sessions/6753cd1172394be0b06a6dace136f034
Requested by: xxchan

Co-Authored-By: xxchan <xxchan22f@gmail.com>
Copy link
Author

Original prompt from xxchan:

Please implement the future work items described in issue https://github.com/risingwavelabs/risingwave/issues/21432 related to the `DESCRIBE FRAGMENTS` command.

Background information and discussions can be found here:
- https://github.com/risingwavelabs/risingwave/pull/21354#pullrequestreview-2771042809
- https://github.com/risingwavelabs/risingwave/issues/21254

The initial implementation of `DESCRIBE FRAGMENTS` is located in `src/frontend/src/handler/describe.rs`. Refer to the impl in #21354

Specifically, implement the following:

- Support `describe fragment <fragment_id>`:
    - This will be useful for debugging when encountering problematic fragment IDs in logs.
    - Implement a meta client API to fetch a specific fragment's definition. 
    - Render the fragment using a similar format to `DESCRIBE FRAGMENTS`.
    - Additionally, include more information about the Fragment, such as the relation name. 
- Refine the pretty print format to show more information.
    - Support options to tweak verbosity. 

Copy link
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Copy link
Author

Closing due to inactivity for more than 7 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature Type: New feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants
0