Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Write time to date time format.

Is there any option to convert write time into timestamp because scylla giving write time of the records in micro seconds. I wanted to know when it was written into the database in human readable format. So please someone suggest me how to achieve this.

like image 508
Suresh Kumar Avatar asked Mar 06 '26 18:03

Suresh Kumar


1 Answers

Things like that are usually done in your client in your programming language of choice. The CQL shell is a bit restricted (by nature) for those operations.

There are a host of date-related functions in the CQL shell but they are supposed to be used in timeuuid values, not in the result of a query

like image 101
Glauber Costa Avatar answered Mar 10 '26 05:03

Glauber Costa