apache/dolphinscheduler

[DSIP-43] Unify index name in Mysql/PG

开放

#16,048 创建于 2024年5月22日

 (0 条评论) (0 个反应) (0 位负责人)Java (4,324 个派生)batch import
DSIPhelp wanted

仓库指标

星标
 (11,659 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Search before asking

  • I had searched in the DSIP and found no similar DSIP.

Motivation

Right now, the index name in Mysql/PG might be different, since in PG the index name should be unique in the whole database, but in mysql the index name can only unique in the table.

It's better to unify the index name, this means we need to make the index name unique in the whole database.

Design Detail

Index name template: idx_{table_name}_{index_name}

Compatibility, Deprecation, and Migration Plan

Compatibility with the latest version but need to execute DDL.

Test Plan

Test by IT.

Code of Conduct

贡献者指南