4paradigm / 4paradigm/OpenMLDB

Truncate the sql string when calling show jobs command

Open
#3,650 0 comments 0 reactions 1 assignee Claimed by @tobegit3hub View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.