Skip to content
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

创建索引名称包含中划线时,sql会报错,导致search接口无法查询数据 #370

Closed
weizijun opened this issue Dec 18, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@weizijun
Copy link
Collaborator

weizijun commented Dec 18, 2023

示例如下:

GET _havenask/sql?query=select * from test-index

java.lang.RuntimeException: org.apache.calcite.sql.parser.SqlParseException: Encountered "-" at line 1, column 19.

此处,sql的表名需要添加`,示例:select * from `test-index`

@weizijun
Copy link
Collaborator Author

fixed by: #382

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants