4paradigm / 4paradigm/OpenMLDB

delete pre-agg tables if user going to drop the long window deployment

Ouverte
#2,308 1 commentaire 0 réactions 1 personne assignée Réclamée par @aceforeverd Voir sur GitHub
enhancement storage-engine
Langage dominant
C++
Étoiles
1.7k
Forks
331
Merge moyen
12 j 12 h
PR mergées (30 j)
1

Description

**Bug Description**
Long window, delete the procedure after deploy, but the pre aggregated table will not be deleted.
If you create a long window with the same name and function again, you will be prompted that the pre aggregated table already exists.
![image](https://user-images.githubusercontent.com/18275570/183230570-17b495ed-a706-4591-963b-ca1f70829693.png)

**Expected Behavior**
When deleting the procedure, the pre aggregated table should be deleted at the same time.

**Steps to Reproduce**

1. create table
2. deploy one long window
3. drop procedure
4. deploy long window

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Look for code that handles dropping procedures and deleting pre-aggregated tables. The issue mentions long window deployments and pre-aggregated tables. Search for terms like 'pre aggregated table', 'long window', and 'drop procedure' in the codebase. Check the SQL execution path and table lifecycle management. Verify the fix by testing the steps to reproduce: create table, deploy long window, drop procedure, and redeploy.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
databases, machine-learning, sql
Domaine
backend, databases, machine-learning
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.