opensearch-project / opensearch-project/sql
[FEATURE] Unify the logic to lookup default time field
Open
Nobody has claimed this yet.
calcite
maintenance
PPL
- Dominant language
- Java
- Stars
- 176
- Forks
- 229
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 43
Description
Several PPL functions utilize default timestamp field @timestamp, but those are identified by separate logic.
We should refactor and unify the logic for better maintainability.
https://github.com/opensearch-project/sql/pull/4212
https://github.com/opensearch-project/sql/pull/4138
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 by reading PRs 4212 and 4138, then trace the separate logic used by PPL functions to identify the default @timestamp field. Done means those lookups share one maintainable implementation without changing the affected functions' behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- databases
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100