2017-07-27 32 views

回答

0

卡桑德拉2.2以上支持toTimeStamp(timeuuid)toDate(timeuuid)功能從文檔

實施例:

CREATE TABLE sample_times (a int, b timestamp, c timeuuid, d bigint, PRIMARY KEY (a,b,c,d)); 
INSERT INTO sample_times (a,b,c,d) VALUES (1, toUnixTimestamp(now()), 50554d6e-29bb-11e5-b345-feff819cdc9f, toTimestamp(now())); 

TimeUUID functions

+0

韓國社交協會@undefined_variable。 –

+0

@AndersonRossi很高興我能幫上忙 –