Skip to content

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

Closed

Description

@dai-chen

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

Activity

  1. added
    bug
    legacy
    and removed on Aug 24, 2022
  2. added
    v2.5.0
    on Dec 12, 2022
  3. self-assigned this
    on Dec 16, 2022
  4. removed their assignment
    on Jan 3, 2023
  5. removed
    v2.5.0
    on Jan 6, 2023
  6. acarbonetto commented on Apr 17, 2023

    @acarbonetto
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    SQLbuglegacyv2.7.0

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions