apache / apache/iotdb

Return a Unix timestamp when using "select max_time()" in start-cli.sh

Open
#2,716 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.4k
Forks
1.2k
Avg merge
1d 23h
Merged PRs (30d)
115

Description

When using "select max_time(s_0) from root.group_0.d_0" in cli , we got a Unix timestamp but not a date format.
I think we need to support this feature.
https://issues.apache.org/jira/browse/IOTDB-977
![image](https://user-images.githubusercontent.com/25913899/108651473-c9229700-74fc-11eb-957d-36482c327577.png)

Contributor guide

Open the contributing guide

Research direction

Start with start-cli.sh and reproduce the query `select max_time(s_0) from root.group_0.d_0` in the CLI. Read the linked JIRA issue IOTDB-977 for the expected date representation and confirm the result format against the reported behavior. Done means the CLI returns the agreed date format rather than only a Unix timestamp.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, shell
Domain
cli, databases
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.