Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting millisecond failed but microsecond worked #2612

Closed
randomJoe211 opened this issue Aug 20, 2021 · 0 comments · Fixed by #2781
Closed

Setting millisecond failed but microsecond worked #2612

randomJoe211 opened this issue Aug 20, 2021 · 0 comments · Fixed by #2781
Assignees
Labels
type/bug Type: something is unexpected
Milestone

Comments

@randomJoe211
Copy link
Contributor

Nebula Graph version: 2.5.0

Why can't I set millisecond with time() but microsecond worked? See the code below.

(root@nebula) [basketballplayer]> WITH time({hour: 12, minute: 31, second: 14, millisecond: 222}) AS d RETURN d
+----------+
| d        |
+----------+
| BAD_DATA |
+----------+
Got 1 rows (time spent 295/696 us)

Fri, 20 Aug 2021 09:16:34 UTC

(root@nebula) [basketballplayer]> WITH time({hour: 12, minute: 31, second: 14, microsecond: 222}) AS d RETURN d
+-----------------+
| d               |
+-----------------+
| 12:31:14.000222 |
+-----------------+
Got 1 rows (time spent 347/722 us)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Type: something is unexpected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants