opensearch-project / opensearch-project/sql

[BUG] source = something:a-1-v3 does not work

Open
#4,445 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

PPL
Dominant language
Java
Stars
176
Forks
229
Avg merge
2d 21h
Merged PRs (30d)
43

Description

Query Information

PPL Command/Query:

source = hello:something-something-01-v3

Expected Result:
should fire the query

Actual Result:

  • failed to parse query due to offending symbol [v3]

Impact:

  • we need to mitigate this issue in OSD by applying backticks, which we can do, but ideally grammar should handle this

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the PPL query parser and grammar handling source expressions like hello:something-something-01-v3; reproduce the failure using the command in the issue and inspect why v3 is treated as an offending symbol. Done means the query parses and fires without requiring backticks, while existing source parsing behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.