Details
-
Improvement
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Semantic
-
Low Hanging Fruit
-
All
-
None
-
Description
It will be useful to have some functions to conver unix time values into C* native types, like:
- toDate(bigint)
- toTimestamp(bigint)
- mintimeuuid(bigint)
- maxtimeuuid(bigint)
Additional info for newcomers:
Those new functions need to be added to org.apache.cassandra.cql3.functions.TimeFcts and some unit tests need to be added to org.apache.cassandra.cql3.functions..TimeFctsTest. The other functions in TimeFcts provide some good example of how to create new functions.
As it is a new functionality they need to be mentioned in the NEWS.txt file.
Attachments
Issue Links
- causes
-
CASSANDRA-17133 Broken test_timeuuid - upgrade_tests.cql_tests
-
- Resolved
-