4paradigm / 4paradigm/OpenMLDB

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

Aperta
#2,308 1 commento 0 reazioni 1 assegnatario Rivendicata da @aceforeverd Vedi su GitHub
enhancement storage-engine
Lingua principale
C++
Stelle
1.7k
Fork
331
Merge medio
12g 12h
PR unite (30g)
1

Descrizione

**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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
databases, machine-learning, sql
Ambito
backend, databases, machine-learning
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.