Skip to content

fix: use case-insensitive column name matching in ShowCreateTable/ShowCreateView (#2772)#3277

Merged
BugsGuru merged 1 commit intomainfrom
ce-2772
Apr 27, 2026
Merged

fix: use case-insensitive column name matching in ShowCreateTable/ShowCreateView (#2772)#3277
BugsGuru merged 1 commit intomainfrom
ce-2772

Conversation

@actiontech-bot
Copy link
Copy Markdown
Member

@actiontech-bot actiontech-bot commented Apr 27, 2026

Summary

GoldenDB returns uppercase column names ("CREATE TABLE", "CREATE VIEW") instead of MySQL's mixed-case ("Create Table", "Create View"), causing SQLE schema meta collection to fail with "column not found" error.

Replace hardcoded map key lookups with case-insensitive iteration over result keys. Also improve error messages to include available column names for easier debugging.

actiontech/sqle-ee#2772

…wCreateView

GoldenDB returns uppercase column names ("CREATE TABLE", "CREATE VIEW")
instead of MySQL's mixed-case ("Create Table", "Create View"), causing
SQLE schema meta collection to fail with "column not found" error.

Replace hardcoded map key lookups with case-insensitive iteration over
result keys. Also improve error messages to include available column
names for easier debugging of similar issues with other DB engines.

Fixes #2772
@BugsGuru BugsGuru merged commit aa0b28c into main Apr 27, 2026
4 checks passed
@BugsGuru BugsGuru deleted the ce-2772 branch April 27, 2026 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants