specify cqlsh output timezone

前端 未结 4 2057
一个人的身影
一个人的身影 2020-12-17 23:12

I have a table in cassandra with a datatype of timestamp. i am using cqlsh to get data out of the database and wanted to change the output format for how my timestamp column

4条回答
  •  借酒劲吻你
    2020-12-17 23:33

    You can change default timezone of local cqlsh by editing ~/.cassandra/cqlshrc

    Ex :

    [ui] TZ = IST

提交回复
热议问题