4paradigm / 4paradigm/OpenMLDB

Can not drop table when using CLI to execute SQL files

Offen
#1,225 1 Kommentar 0 Reaktionen 1 zugewiesene Person Beansprucht von @dl239 Auf GitHub ansehen
bug storage-engine
Vorherrschende Sprache
C++
Sterne
1.7k
Forks
331
Ø Merge
12 T. 12 Std.
Gemergte PRs (30 T.)
1

Beschreibung

Now dropping table requires to confirm with users input which make it impossible to run with SQL files.

image

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

The issue is about the CLI's interactive confirmation prompt blocking SQL file execution for DROP TABLE. Look for the CLI command handling code, likely in a source file related to SQL execution or command-line interface. Find where the confirmation prompt is triggered for destructive operations and see if there's a flag or mode to bypass it for non-interactive use. Check if there are existing tests for CLI SQL file execution to understand the expected behavior.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
cli, sql
Bereich
cli, databases
Issue-Typ
Bug
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

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