4paradigm / 4paradigm/OpenMLDB

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

オープン
#2,308 コメント 1 件 リアクション 0 件 担当者 1 名 @aceforeverd が担当を希望しています GitHub で見る
enhancement storage-engine
主要言語
C++
スター
1.7k
フォーク
331
平均マージ
12日 12時間
マージ済み PR(30日)
1

説明

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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
databases, machine-learning, sql
領域
backend, databases, machine-learning
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。