[Bug] Guard schema changes against live Global Index references
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 68/100
Piste de recherche
Commencez par SchemaManager#assertNotUpdatingPrimaryKeyIndexColumn et suivez la protection existante pour les modifications de schéma impliquant des colonnes d’index. Reproduisez le scénario de suivi des lignes et d’évolution des données avec un Global Index, puis examinez la gestion des modifications de schéma et du manifeste d’index. Le travail est terminé lorsque la suppression, le renommage ou la modification du type d’une colonne indexée référencée est refusée, avec l’indication qu’il faut d’abord supprimer le Global Index complet.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Search before asking
- I searched in the issues and found nothing similar.
Paimon version
2.0
Compute Engine
flink
Minimal reproduce step
- Create a table with row tracking and data evolution enabled.
- Insert data and create a Global Index on a column.
- Drop the indexed column.
- Call drop_global_index for the removed column.
- The procedure fails because the column no longer exists, while the Global Index remains referenced by the index manifest.
What doesn't meet your expectations?
Dropping a column succeeds even when it is referenced by live Global Index files. Afterward, drop_global_index cannot resolve the removed column to its field ID, leaving the index impossible to remove through the public procedure.
Schema changes that drop, rename, or change the type of an indexed column should be rejected and instruct the user to drop the complete Global Index first. This is consistent with the existing protection in SchemaManager#assertNotUpdatingPrimaryKeyIndexColumn .
Anything else?
No response
Are you willing to submit a PR?
- I'm willing to submit a PR!
- Langage dominant
- Java
- Étoiles
- 3.4k
- Forks
- 1.4k
- Merge moyen
- 1 j 14 h
- PR mergées (30 j)
- 468
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de apache/paimon
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
-
[Bug] [Hive] IndexOutOfBoundsException when converting an unavailable dynamic BETWEEN predicate Ouvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Toutes les issues de apache/paimon
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
infinispan/infinispan#18150 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
-
untriaged
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100