4paradigm / 4paradigm/OpenMLDB
Execute drop function failed if deployment reference it
Open
enhancement
- Dominant language
- C++
- Stars
- 1.7k
- Forks
- 331
- Avg merge
- 12d 12h
- Merged PRs (30d)
- 1
Description
deployment will run failed if relevant function has been dropped. so we should check if there are any deployments referred when drop the function.
known issue in #1509
Contributor guide
Research direction
The issue references a known problem from #1509. Start by examining the function drop logic in the codebase, likely in SQL execution or DDL handling modules. Look for existing deployment references and add a check to prevent dropping functions that are in use. Review #1509 for context and existing discussions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- sql
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100