eclipse / jnosql

Eclipse JNoSQL is a framework which has the goal to help Java developers to create Jakarta EE applications with NoSQL.
Other
229 stars 72 forks source link

[BUG] query specification doesnt allow for dashes in tablenames #441

Closed warmuuh closed 12 months ago

warmuuh commented 12 months ago

Which JNoSQL project the issue refers to?

JNoSQL (Core)

Bug description

the antlr4 spec (code) doesnt allow for table-names with dashes, so this query is invalid and cannot be parsed:

select * from my-prefix-user where user_id = 123

especially for dynamodb tables, dashes are pretty common

JNoSQL Version

1.0.1

Steps To Reproduce

see above

Expected Results

this query can be parsed:

select * from my-prefix-user where user_id = 123

Code example, screenshot, or link to a repository

select * from my-prefix-user where user_id = 123
otaviojava commented 12 months ago

Thank you, we will fix it.

otaviojava commented 12 months ago

@warmuuh we will release the release at the end of this month.