4paradigm / 4paradigm/OpenMLDB
Truncate the sql string when calling show jobs command
Open
batch-engine
- Dominant language
- C++
- Stars
- 1.7k
- Forks
- 331
- Avg merge
- 12d 12h
- Merged PRs (30d)
- 1
Description
**Describe the feature you'd like**
Now we will display the SQL string when calling show jobs command. The string of SQL may be long so that we may truncate the string when displaying in command-line.
Contributor guide
Research direction
Find the code for the 'show jobs' command, likely in a CLI or SQL command handler. Look for where the SQL string is currently displayed without truncation. Implement a truncation logic for display, ensuring it works in a command-line interface. Test by running the command with a long SQL string.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- sql
- Domain
- cli, databases
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100