4paradigm / 4paradigm/OpenMLDB

Can not drop table when using CLI to execute SQL files

Open
#1,225 1 comment 0 reactions 1 assignee Claimed by @dl239 View on GitHub
bug storage-engine
Dominant language
C++
Stars
1.7k
Forks
331
Avg merge
12d 12h
Merged PRs (30d)
1

Description

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

image

Contributor guide

Open the contributing guide

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
cli, sql
Domain
cli, databases
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.