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

[BUG] score cannot be used in field name #788

Closed
dai-chen opened this issue Aug 24, 2022 · 1 comment · Fixed by #1191
Closed

[BUG] score cannot be used in field name #788

dai-chen opened this issue Aug 24, 2022 · 1 comment · Fixed by #1191
Labels
bug Something isn't working legacy Issues related to legacy query engine to be deprecated SQL v2.7.0

Comments

@dai-chen
Copy link
Collaborator

What is the bug?
Field with score is not supported and causing fallback to legacy query processing.

How can one reproduce the bug?
N/A (Fallback will occur as if the query is handled properly. However if any new feature in v2 used, the legacy code throws exception)

What is the expected behavior?
score can be present in index or field name.

What is your host/environment?

  • OS: OpenSearch 2.2
  • Plugins: SQL

Do you have any screenshots?
N/A

Do you have any additional context?
Code related: https://github.com/opensearch-project/sql/blob/main/sql/src/main/antlr/OpenSearchSQLIdentifierParser.g4#L60

@dai-chen dai-chen added bug Something isn't working untriaged SQL legacy Issues related to legacy query engine to be deprecated and removed untriaged labels Aug 24, 2022
@dai-chen dai-chen added the v2.5.0 'Issues and PRs related to version v2.5.0' label Dec 12, 2022
@dai-chen dai-chen self-assigned this Dec 16, 2022
@dai-chen dai-chen reopened this Jan 3, 2023
@dai-chen dai-chen removed their assignment Jan 3, 2023
@dai-chen dai-chen removed the v2.5.0 'Issues and PRs related to version v2.5.0' label Jan 6, 2023
@dai-chen dai-chen added the v2.6.0 label Feb 8, 2023
@dai-chen dai-chen added v2.7.0 and removed v2.6.0 labels Feb 16, 2023
@acarbonetto
Copy link
Collaborator

@dai-chen This can be closed as part of #1456.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working legacy Issues related to legacy query engine to be deprecated SQL v2.7.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants