4paradigm / 4paradigm/OpenMLDB

Truncate the sql string when calling show jobs command

Offen
#3,650 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @tobegit3hub Auf GitHub ansehen
batch-engine
Vorherrschende Sprache
C++
Sterne
1.7k
Forks
331
Ø Merge
12 T. 12 Std.
Gemergte PRs (30 T.)
1

Beschreibung

**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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
sql
Bereich
cli, databases
Issue-Typ
Feature
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.