opensearch-project / opensearch-project/sql
[BUG] source = something:a-1-v3 does not work
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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