opensearch-project / opensearch-project/sql
[RFC] Timestamp should contain timezone information
Open
Nobody has claimed this yet.
RFC
- Dominant language
- Java
- Stars
- 176
- Forks
- 229
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 43
Description
Problem Statement
timestamp should contain timezone information
Current State
Currently timestamp format YYYY-MM-DD HH:MM:SS does not provide timezone information
{
"schema": [
{
"name": "timestamp",
"type": "timestamp"
},
{
"name": "utc_time",
"type": "timestamp"
}
],
"datarows": [
[
"2025-07-08 07:04:39.864",
"2025-07-08 07:04:39.864"
],
[
"2025-07-08 07:07:44.718",
"2025-07-08 07:07:44.718"
],
...
]
}
Proposal
timestamp format be ISO 8601 or other date format that include timezone information
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
The issue names no files, tests, or entry points; begin by locating where SQL/PPL result timestamps are formatted. Done means agreeing on and implementing a timezone-bearing timestamp format, with tests covering the returned values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, sql
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100