4paradigm / 4paradigm/OpenMLDB

Execute drop function failed if deployment reference it

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.