GoogleCloudPlatform / GoogleCloudPlatform/cloud-spanner-emulator

Renaming table with foreign keys hangs

Open
#251 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
334
Forks
77
Avg merge
8m
Merged PRs (30d)
2

Description

The DDL statement `RENAME TABLE X to Y` hangs if X has any foreign keys.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the DDL statement `RENAME TABLE X to Y` with a table that has foreign keys, then trace the emulator's table-rename handling. Done means the rename completes instead of hanging while preserving the foreign-key relationships.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.