Skip to content

[fix] Add 'K_DATA' to KeywordOrIdentifier to allow usages of 'data' as an identifier - #2340

Merged
manticore-projects merged 1 commit into
JSQLParser:masterfrom
willneedham93:fix/2328
Nov 21, 2025
Merged

[fix] Add 'K_DATA' to KeywordOrIdentifier to allow usages of 'data' as an identifier#2340
manticore-projects merged 1 commit into
JSQLParser:masterfrom
willneedham93:fix/2328

Conversation

@willneedham93

Copy link
Copy Markdown
Contributor

Allows for support of 'data' as a column name when changing or dropping a column in an alter table statement.

See #2339

@willneedham93
willneedham93 marked this pull request as draft November 13, 2025 13:27
@willneedham93
willneedham93 marked this pull request as ready for review November 13, 2025 13:28
@manticore-projects

Copy link
Copy Markdown
Contributor

Run './gradlew spotlessApply' to fix all violations.

…as an identifier
Allows for support of data as a column name when changing or dropping a column in an alter table statement
@manticore-projects

Copy link
Copy Markdown
Contributor

Thank you for your contribution.

@manticore-projects
manticore-projects merged commit 2d83cea into JSQLParser:masterNov 21, 2025
7 checks passed
minleejae added a commit to minleejae/JSqlParser that referenced this pull request Aug 5, 2026
…name
TYPE is a non-reserved keyword in MySQL, so statements like
'ALTER TABLE tbl DROP COLUMN type' are valid without quoting.
Follows the same approach as JSQLParser#2340 (K_DATA).
FixesJSQLParser#2447
manticore-projects pushed a commit that referenced this pull request Aug 5, 2026
…name (#2448)
TYPE is a non-reserved keyword in MySQL, so statements like
'ALTER TABLE tbl DROP COLUMN type' are valid without quoting.
Follows the same approach as #2340 (K_DATA).
Fixes#2447
Sign up for freeto 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.

2 participants

@willneedham93@manticore-projects