英文:
How to change the time in Apache IoTDB to timestamp format?
问题
目前,Apache IoTDB的“time”列看起来像“2023-02-08T11: 25:15.953+08:00”。有没有办法将此处的时间显示为时间戳?
我查看了官方文档,它只说时间可以显示为“Long”类型,但没有找到此更改的示例。有人能告诉我如何做到这一点吗?
英文:
Currently, the "time" column of Apache IoTDB looks like "2023-02-08T11: 25:15.953+08:00". Is there any way to make the time here displayed as a timestamp?
I checked the official document, and it only says that the time can be displayed as Long
type, but no example of this change can be found. Anyone can tell me how to do this?
答案1
得分: 0
如果您想显示时间戳或其他可读格式,可以在 Apache IoTDB 的启动命令中添加参数 -disableISO8601
。例如:$IOTDB_CLI_HOME/sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root -pw root -disableISO8601
。
英文:
If you want to display timestamps or other readable formats, you can add the parameter -disableISO8601
to the startup command of Apache IoTDB. For example: $IOTDB_CLI_HOME/sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root -pw root -disableISO8601
.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论