New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Derby reserved keywords is incorrect #1031
Comments
Thanks for the bug report! I've updated the formatting of it a bit to show the example changesets. |
I pulled the list from here - liquibase/liquibase-core/src/main/java/liquibase/database/core/DerbyDatabase.java Line 33 in c1da538
Then I pulled the Derby reserved keywords from here - http://db.apache.org/derby/docs/10.15/ref/rrefkeywords29722.html It looks like there's a rather large disparity. Is there any reason why we shouldn't true the entire list up? liquibase_master_src.txt I ran |
This is hitting us as well. Will anything move this forward with a higher priority, perhaps a PR? |
Updated DerbyDatabase definition to use the set of keywords defined in https://db.apache.org/derby/docs/10.2/ref/rrefkeywords29722.html resolves liquibase#1031
Updated DerbyDatabase definition to use the set of keywords defined in https://db.apache.org/derby/docs/10.2/ref/rrefkeywords29722.html resolves liquibase#1031
Updated DerbyDatabase definition to use the set of keywords defined in https://db.apache.org/derby/docs/10.2/ref/rrefkeywords29722.html resolves #1031
Description
Derby reserved keywords includes more words than necessary according to https://db.apache.org/derby/docs/10.2/ref/rrefkeywords29722.html.
I am trying to add a column named
data
it gets quoted.To Reproduce
Add this to a changeSet:
And this to another changeSet:
Currently it the insert statement will raise a exception with message "'DATA' is not a column in table or VTI"
Expected behavior
It should be possible to add a column with name
data
.The text was updated successfully, but these errors were encountered: